Posts from C++

Phone Directory Implementation in C++

By Ramneeq Sodhi

Here we are going to make our own C++ program to make a phone directory. So what is a phone directory and how to create it? A phone directory is a collection of data, which consist.... Read More

Find Minimum cost to connect all cities in C++

By Ramneeq Sodhi

In this article, we are going to learn how to find the minimum cost to connect all cities in C++ programming. The problem is that we are given a number of cities there is a specifi.... Read More

Group all Anagrams together in C++

By Anurag Verma

In this tutorial, we are going to learn to group all the anagrams together in a given vector of strings with C++. For instance, the given vector of strings is [“rams”,&.... Read More

How to check for Majority Element in an array in C++

By Akash Dileep

In this tutorial, we are going to see some ways to find the majority element in an array in C++. A majority element in an array is that element whose frequency is greater than R.... Read More

Find indices of Target sum in a given array in C++

By Palani M

In this tutorial, we will be solving a popular algorithmic challenge. This question can be found on leetcode as TwoSum. We will be solving this Two Sum problem in C++. Two Sum Prob.... Read More

Implementation of Null Cipher in C++

By Akash Dileep

In this tutorial, we will learn how to implement NULL Cipher using C++. In null cipher, ‘null’ stands for ‘nothing’ and ‘cipher’ stands for R.... Read More

Find frequency of each element in an Array in C++

By Akash Dileep

In this tutorial, we are going to see how to frequency of each element in an Unsorted array in C++. There are many ways to solve this problem, in this tutorial we will see the brut.... Read More

C++ real() function with examples

By Sahil Singh

In this article, we will be learning C++ – real() function with examples. The real() function in C++ is defined header file “complex.h”. It comes handy when we ne.... Read More