Posts by Rishabh Agarwal

Author Biographical Info: I am Rishabh Agarwal from the Indian Institute of Technology, Patna, pursuing a Bachelor of Technology degree in Electrical Engineering ( 2nd year). I am currently working as a C++ programmer at codespeedy.

Reverse individual words using Stack in C++

By Rishabh Agarwal

Hello Guys, In this tutorial we are going to learn how to reverse individual words using stack in c++?  Before that check this tutorial on stacks to have a better understanding of.... Read More

Implementation of Cycle Sort in C++

By Rishabh Agarwal

Hi, In this tutorial we are going to learn about cycle sort and its implementation in C++. Sorting is used to rearrange sequences in some specific order, i.e. either ascending or d.... Read More

Reversal Algorithm for the Right Rotation of an Array in C++

By Rishabh Agarwal

Hello Folks, In this tutorial we are going to learn about the reversal algorithm for the right rotation of an array in C++. First, we will understand what do we mean by the right r.... Read More

Count Possible Decodings of a given Digit Sequence in C++

By Rishabh Agarwal

Hello Folks, In this tutorial, we will discuss how to count possible decodings of a given digit sequence in c++ using simple Recursion and Dynamic Programming. But before that, we .... Read More

Kaprekar number in C++

By Rishabh Agarwal

Hello guys, In this tutorial we are going to learn, what are kaprekar numbers? How can we check whether the given number is kaprekar or not in C++. So let’s answer our first .... Read More

How to append a vector to a vector in C++

By Rishabh Agarwal

Hi guys, in this tutorial we are going to learn about several methods that will help us to append a vector to a vector in c++. For example, we have two vectors v1 and v2 and we hav.... Read More

How to flatten a 2-Dimensional vector in C++

By Rishabh Agarwal

Hello Guys, In this tutorial we are going to learn how to flatten a 2-Dimensional vector in C++. Before we get into this let’s discuss what is a 2-D vector, so it is a vector.... Read More

Strand Sort in C++

By Rishabh Agarwal

In this tutorial, we will learn about one of the commonly used sorting algorithms i.e. Strand sort in C++ with algorithm. Before this I recommend you to read the tutorial on merge .... Read More