Posts by Manisha Rathore

Author Biographical Info: Not available

Count pairs in array whose sum is divisible by K in C++

By Manisha Rathore

In this tutorial, we will learn how to count pairs in an array whose sum is divisible by K in C++. Also, given an array and a number K, and we have to count pairs. For example: Giv.... Read More

How to Divide a string into N equal parts in C++

By Manisha Rathore

In this tutorial, we will learn how to divide a string into N equal parts in C++. Also, we have given a string and value of N and our task is to divide this string. For example: Gi.... Read More

Search element in a sorted matrix in C++

By Manisha Rathore

In this tutorial, we will learn how to search an element in a sorted matrix in C++. In the first place, we will have a sorted array and a number, and we have to search element. Sim.... Read More

Print a given matrix in counter-clockwise spiral form in c++

By Manisha Rathore

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

program to get the size of a file in C++

By Manisha Rathore

File size is a measure of how much data a files contains. When we write a file in file system, it may consume the data more than the file requires. To get the size of a file in C++.... Read More

How to Reverse a number in C++

By Manisha Rathore

In this tutorial, we will learn how to reverse a number in c++. The Reverse of a number means to reverse the position of all digits of any number and storing the digits in reverse .... Read More

How to reverse a vector in c++

By Manisha Rathore

In this tutorial, we will learn how to reverse a vector using c++. Here we will use the STL(standard template library) library. Here STL is a set of c++ template classes. Using the.... Read More