Posts by Aniruddha Ghosh

Author Biographical Info: Not available

Reverse Level Order Traversal of Binary Tree in C++

By Aniruddha Ghosh

In this article, we will learn how to reverse the level order traversal of binary tree in C++. The level order traversal is quite easy and the trick is to maintain a queue and prin.... Read More

Maximum edges that can be added to DAG so that is remains DAG in C ++

By Aniruddha Ghosh

In this article, we will discuss Maximum edges that can be added to DAG so that remains DAG in C ++. You are given a directed acyclic graph(DAG)  and you have to find the maximum .... Read More

Program to Print all the Leaders in the array in Java

By Aniruddha Ghosh

Hello everyone! Today we will Write a Program to print all the Leaders in the array in Java. So you are given an array and you have to find the leaders. A leader in an array is the.... Read More

Minimum Cost Path Problem in C++

By Aniruddha Ghosh

Hello everyone! Today we will learn how to solve the Minimum Cost Path Problem in C++. At first, quickly see the problem statement. You are given an N*N grid in which every value r.... Read More