Posts by Alok Singh
Author Biographical Info: Not available
In this tutorial, we will learn how to make a diamond shape pattern by asterisks sign in the C++ language. In this task, we will get a number n and we have to print the diamond sha.... Read More
In this tutorial, we will learn how to print Pascal’s triangle in C++ with an algorithm. Pascal’s triangle is a 2-D array (2-D triangular array) of binomial coefficient.... Read More
In this problem, we will get an array of size ‘n’. we need to move all the zeros to the end of the array without changing the order of non-zero numbers. Let’s tak.... Read More
In this tutorial, we will learn how to perform right rotation on a matrix by k times in C++ with a solved example, algorithm. What is the meaning of “perform right rotation o.... Read More
In this tutorial, we will learn how to merge two linked lists with algorithm and C++ program. Merging of two linked lists is the same as the concatenation of two strings. But this .... Read More
Hello, in this tutorial, we will learn how to check whether a matrix is an involuntary matrix or not in C++ with an example, Algorithm, and a program. A matrix is said to be an inv.... Read More
In this tutorial, we will learn how to check whether a matrix is a Markov matrix or not in C++ with Example, Algorithm, and a program. Markov matrix is a matrix in which the sum of.... Read More
From the title of the problem, it is clear that for a given array, we have to Replace each element by multiplication of previous and next element. Means for each index number i, .... Read More