Posts by Vishal Kumar

Author Biographical Info: Not available

Finding Minimum Cost Path in a 2-D Matrix in C++

By Vishal Kumar

In this tutorial, we are going to solve a particular problem which is how to find Minimum Cost Path in a 2-D Matrix in C++. We are going to use dynamic programming to solve this pr.... Read More

Find the smallest missing number in an array in C++

By Vishal Kumar

In this tutorial, we are going to learn how to find the smallest missing number in an array in C++. We can solve this problem either by using a linear search or by using binary sea.... Read More

Reversal algorithm for array rotation in C++

By Vishal Kumar

In this tutorial, we are going to learn about Reversal algorithm for array rotation in C++. In this problem, we have to rotate the array from a particular point let’s say it .... Read More

Stack in C++ Standard Template Library (STL)

By Vishal Kumar

In this tutorial, we are going to learn about some special functions of stack in STL in C++. It is nothing but a special type of container adaptor which is specifically designed to.... Read More

Sort an array in wave-form ( Wave Sort ) in C++

By Vishal Kumar

In this tutorial, we are going to learn how to sort an array in wave-form in C++ which is also known as wave sort. The basic approach will be to sort an array and then print last a.... Read More

Power of a number in C++ using Recursion

By Vishal Kumar

In this tutorial, we are going to learn how to calculate power of a number in C++ using Recursion. In recursion, we need a required recursive function to solve this problem. The fo.... Read More

Finding most occurred element in an array in C++

By Vishal Kumar

In this tutorial, we will learn how to find the most occurred element in an array in C++ using hashing which will take linear time to solve this problem. We will create an array of.... Read More

Linked list basic insertion operations in C++

By Vishal Kumar

In this tutorial, we are going to learn about all linked list basic insertion operations in C++. Linked list basic insertion operations Let us start with inserting a node at the be.... Read More

Related Posts