Posts by Dinesh Kumar

Author Biographical Info: Not available

Find Minimum delete operations to make all elements of array same in C++

By Dinesh Kumar

In this tutorial, we are going to learn how to find the minimum delete operations needed to make all elements of an array the same in C++. Here we will see the algorithm and after.... Read More

Smallest element repeated exactly ‘k’ times (not limited to small range) in C++

By Dinesh Kumar

In this tutorial, we are going to learn how to find the smallest element repeated exactly ‘k’ times (not limited to small range) in C++. Here, firstly we will see the algorith.... Read More

How to sort a 2D vector in C++

By Dinesh Kumar

In this tutorial, we are going to learn how to sort a 2D vector in C++. Here we will learn about the 2D vector, how to sort a specific row in 2D vector, and how to sort the entire.... Read More

polar() function for complex number in C++

By Dinesh Kumar

In this tutorial, we are going to learn about polar() function for complex number in C++. Here we will learn about polar() function uses, and its header file. After that, we will s.... Read More

Polar to Rectangular conversion in C++

By Dinesh Kumar

In this tutorial, we are going to learn Polar to Rectangular conversion in C++. Here we will learn about the rectangular form, polar form, and Polar to Rectangular conversion. Afte.... Read More

Naive Algorithm for Pattern Searching in C++

By Dinesh Kumar

In this tutorial, we are going to learn about the Naive Algorithm for pattern searching and implementing it in C++ program. So keep following this tutorial… Let’s see a.... Read More

C++ program to Check if two trees are Mirror

By Dinesh Kumar

In this tutorial, we are going to learn how to check if two trees are mirrors or not in C++. Here we will learn about mirror trees, how to determine if two trees are mirror of each.... Read More

Binary search in sorted vector of pairs in C++

By Dinesh Kumar

In this tutorial, we are going to see binary search in sorted vector of pairs in C++. Here we will learn about the vector of pairs, binary search for sorted vector of pairs and aft.... Read More