Posts by **Himanshu Raj**

**Author Biographical Info: **Not available

An adjacency matrix is a square matrix used to represent a finite graph. It is a way of representing a graph as a matrix of booleans (0’s and 1’s). The boolean value of.... Read More

Bit Manipulation is a very effective technique that is used to solve problems in optimized way. This technique is useful for competitive programming perspective. Bit Manipulation i.... Read More

In this post, we will learn how to add 1 to a number represented as linked list in C++. For example 4959 is represented as (4-> 9-> 5 -> 9->9) and adding 1 to it should.... Read More

In this post, we will learn how to sort an array using recursion in C++ programming. An array is a continuous memory block in which elements can be extracted sequentially. for exam.... Read More

In the problem, we build a table of n rows (1-indexed). We start by using writing zero within the 1st row. Now in every subsequent row, we observe the preceding row and replace eac.... Read More

In this tutorial, we will learn how to calculate Hamming Distance of two binary strings in C++. Hamming distance is the number of bits positions in which two numbers differ while c.... Read More