Posts by Manisha Rathore
Author Biographical Info: Not available
In this tutorial, we will learn how to print the next greater element C++. Then, we have an array and we have to print the next greater element of each element. For Example : Given.... Read More
In this tutorial, we will learn to get or find the angle between the hour hand and minute hand in C++. Also, we say this problem as analog clock angle problem where we have to find.... Read More
In this tutorial, we will learn about the block-swap algorithm for rotation of the array in C++. Also, we will have an array and we have to rotate the array by s elements. For Exam.... Read More
In this tutorial, we will learn to move last element to front of a linked-list in C++. For Example: If the given linked list is 1->2->3->4->5 Then, the output is 5->.... Read More
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
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
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
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