Posts by Manisha Rathore

Author Biographical Info: Not available

How to Find the ceiling in a sorted array in C++

By Manisha Rathore

In this tutorial, we will find the ceiling in a sorted array in C++. Here, we will have an array and a number y and we have to get ceiling of the number. Moreover, the ceiling of y.... Read More

How to print a given matrix in the clockwise spiral form in C++

By Manisha Rathore

In this tutorial, we will learn how to print a given matrix in the clockwise spiral form in C++. Also, given an RxC matrix, we will print the matrix in the clockwise spiral form. S.... Read More

Run length encoding of the string in C++

By Manisha Rathore

In this tutorial, we will learn to find run length encoding of a string in c++. For Example:  Given string: “ssshhhhhaiiiiillllll” Now, encode the length of every char.... Read More

Reverse a string using stack in C++

By Manisha Rathore

In this tutorial, we will learn to reverse a string using the stack in C++. For Example: Given string: " codespeedy" Reverse the given string. Output: " ydeepsdoc'' Simple Method: .... Read More

print the pyramidical star pattern in C++

By Manisha Rathore

In this tutorial, we will learn to print the pyramidical star pattern in C++. For Example: If n=5. The output: * * * * * * * * * * * * * * * Approach: Firstly, it is a star pattern.... Read More

Replace the element with the greatest element on the right side of an array in C++

By Manisha Rathore

In this tutorial, we will learn to replace the element with the greatest element on the right side in C++. Also, we have given an array and we have to replace the element with the .... Read More

Find a pair with the given difference in C++

By Manisha Rathore

In this tutorial, we will learn to find a pair with the given difference in C++. Also, we have given an array and a number n and our task is to get the pair whose difference is the.... Read More

How to push all zeroes to the end of the array in C++

By Manisha Rathore

In this tutorial, we will learn to push all zeroes to the end of an array in C++. As we have given an array and we have to shift zeroes to the end of the array. For Example:  Give.... Read More

Related Posts