Posts by Yogender Narayan

Author Biographical Info: Not available

Number of Nodes at given level in a tree using BFS (Graph) in C++

By Yogender Narayan

In this tutorial, we will learn. How to count the number of nodes at a given level in a tree using BFS in C++. At a particular level, there can be a different amount of nodes. We a.... Read More

How to check whether date is valid or not in C++

By Yogender Narayan

This tutorial demonstrates Program to check whether date is valid or not in C++. The user will enter the date he/she requires to check and output will show the result. Introduction.... Read More

Program for Row wise sorting of Matrix

By Yogender Narayan

In this tutorial, we will learn about the Program for Row wise sorting of Matrix in C++. Firstly we will learn about matrix and its insertion. Then sort the matrix row-wise. Introd.... Read More

Second most repeated word in a sequence in C++

By Yogender Narayan

In this tutorial, we are going to learn about the program for the Second most repeated word in a sequence in C++. Firstly we have an introduction to the problem and secondly, after.... Read More

Find all triplets with zero-sum in C++ (Hash Tables)

By Yogender Narayan

In this C++ tutorial, we will learn to Find all triplets with zero-sum in C++. To solve this problem in this tutorial we are going to use hash tables. Introduction In this problem.... Read More

Print unique rows in a given Boolean matrix in C++

By Yogender Narayan

In this tutorial, we are going to learn about Print unique rows in a given Boolean matrix in C++. In this tutorial, we have to print the unique rows of the binary matrix. Firstly .... Read More

Find median in row wise sorted matrix in C++

By Yogender Narayan

In this tutorial, we are about to learn about Find median in a row-wise sorted matrix in C++. Firstly an introduction to the matrix is given. Secondly, we will discuss the algorith.... Read More

ZigZag Tree Traversal (Using queue) in C++

By Yogender Narayan

In this tutorial, we are going to learn about ZigZag Tree Traversal in C++. Firstly we are going to have an Introduction to the problem. Secondly, we will check the various solutio.... Read More