Posts by **Alok Singh**

**Author Biographical Info: **

In this tutorial, we will learn how to find the Hamming code of binary data with a solved example and C++ program. Hamming code is error-detection and error-correction code which .... Read More

In this tutorial, we will learn about the Run Length Encoding (RLE) with example and C++ program followed by the algorithm. Run Length Encoding is a very simple form of lossless da.... Read More

Hello, In this tutorial, we will learn how to check if a matrix is sparse or not in C++, with an example, algorithm, and a C++ program. A sparse matrix is a matrix of m row and n c.... Read More

In this tutorial, we will learn how to sort a matrix in C++ with an algorithm. we all heard about sorting an array, but what is soring a matrix? well, sorting a matrix means soring.... Read More

In this tutorial, we will learn how to add all diagonal elements of a matrix in C++ with Algorithm. In order to add all diagonal elements of a matrix, it is important to make sure .... Read More

In this tutorial, we will learn how to find unique elements in a matrix in C++ with an example and algorithm. The elements which appear only one time in a matrix are unique element.... Read More

In this tutorial, we will learn how to swap boh the diagonals of a matrix in C++ with an example, algorithm. The square matrix has two diagonals. one, which starts from the top-lef.... Read More

In this tutorial, we will learn how to find the transpose of a matrix in C++ and will understand the logic behind the program. Transpose of a matrix is a manipulation of a matrix s.... Read More