Posts from C++

Find determinant of a matrix in C++

By Pritam Hande

In this tutorial, we will learn how to find the determinant of a matrix in C++. Determinant of a Matrix Determinant of a Matrix: is a special number that can be calculated from ele.... Read More

Relative Sorting Algorithm and Implementation in C++

By Pritam Hande

In this tutorial, we will learn the relative sorting algorithm and its implementation in C++. Relative Sorting Relative sorting algorithm: is a sorting algorithm in which we have t.... 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

Largest Rectangular Area in a Histogram in C++

By Yogender Narayan

In this tutorial, we are going to learn how to find the Largest Rectangular Area in a Histogram with the help of C++ programming. First, we will cover the introduction of the histo.... Read More

Smallest subarray with k distinct numbers in C++

By Yogender Narayan

In this tutorial, we are going to learn how to find the Smallest subarray with k distinct numbers in C++. Firstly we have an introduction to the on arrays and subarrays. Secondly, .... Read More

Print all the Repeated Numbers with Frequency in an Array in C++

By Pritam Hande

In this tutorial, we will learn how to print the repeated numbers with frequency in an array in C++. Before proceeding further First, Let’s understand the problem. What do y.... Read More

Count maximum points on same line in C++

By Yogender Narayan

In this tutorial, we are going to program on how to Count maximum points on the same line in C++. Firstly we will have an Introduction on points in 2-D planes and slope. Secondly, .... Read More

Check for balanced parenthesis in an expression in C++

By Yogender Narayan

In this tutorial, we are going to learn about the problem. The problem is to Check for balanced parenthesis in an expression in C++. Firstly we are going to have an introduction to.... Read More