C++ Programs - Hard Articles
In this article, we will create our custom string class which will have the same functionality as the existing string class.The string class has the… Read More
PNG images are capable of supporting multiple image properties such as multiple colors, degree of transparency, Gamma correction, Lossless compression, etc. PNG images are widely… Read More
Given an array arr[] of size N consisting of unique elements in the range [0, N-1], the task is to find K which is the… Read More
Given an array arr[] containing N elements, the task is to remove a subarray of minimum possible length from the given array such that all… Read More
Given an array of strings words[] and the sequential order of alphabets, our task is to sort the array according to the order given. Assume… Read More
Given a number N, the task is to find the sum of all N-digit palindromic numbers which are divisible by 9 and the number doesn’t… Read More
Given a binary tree with N nodes numbered [1, N], the task is to find the size of the smallest Dominating set of that tree.… Read More
Given an array arr[] containing N integers and a number K, the task is to find the K-th pair in the ordered list of all… Read More
Given a partially filled 9×9 matrix, digits (from 1 to 9) must be assigned to the empty cells so that every row, column, and submatrix… Read More
What are we going to do here? This article explains how to create a super-fast Artificial Neural Network that can crunch millions of data points within… Read More
C++ allows users to use the concept of Run-Time Polymorphism using Virtual Functions for any type of Inheritance . Below is how to implement Run-Time… Read More
Given an acyclic undirected graph having N nodes and N-1 edges in the form of a 2D array arr[][] in which every row consists of… Read More
Given a number N. The task is to check if the given number is Prime Number or not.Examples:   Input: N = 987 Output: Not a Prime… Read More
Prerequisite: Socket Programming in C/C++ It is possible to send data from the server and receive a response from the client. Similarly, the client can… Read More
Given a list of strings, the task is to find the sum of all LCP (Longest Common Prefix) of maximum length by selecting any two… Read More
Given N binary strings b1, b2, b3…. bn. The task is to find the maximum number of binary strings that you can make palindromic by… Read More