Posts by Amit Raja Kalidindi

Author Biographical Info: Not available

C++ program to find pair with greatest product in array

By Amit Raja Kalidindi

In this tutorial, we are going to learn how to find a pair with the greatest product in an array in C++. Naive Solution: The simple solution is to consider all the possible pairs a.... Read More

Check if a given Binary Tree is SumTree in C++

By Amit Raja Kalidindi

In this tutorial, we are going to learn how to check for a SumTree in a Binary Tree using C++. If the value of each node in a Binary Tree is equal to the sum of all the nodes prese.... Read More

Implementing BFS without using Queue in C++

By Amit Raja Kalidindi

In this tutorial, we are going to learn how to implement BFS(Breadth-First Search) without using a queue in C++. BFS is an algorithm used for traversing a tree or a graph in a leve.... Read More

Check for Symmetric Binary Tree (Iterative Approach) in C++

By Amit Raja Kalidindi

In this tutorial, we are going to learn how to check if a given Binary Tree is a Symmetric Tree in C++ using an Iterative approach. If the left subtree and the right subtree of the.... Read More

Find K’th largest element in a stream in C++

By Amit Raja Kalidindi

In this tutorial, we are going to learn how to find the K-th largest element in a stream of numbers using C++. Naive Solution for finding K-th largest element in a stream We can cr.... Read More

Related Posts