 Posts by Amit Raja Kalidindi

Author Biographical Info: Not available

#### Methods vs Functions in C++ with Examples

By Amit Raja Kalidindi

In this tutorial, we are going to learn about the aspects that make methods different from functions in C++. A function contains a set of instructions that are used to perform a sp.... Read More

#### Decrementing an iterator in C++

By Amit Raja Kalidindi

In this tutorial, we are going to learn how to decrement an iterator in C++. These are used to traverse through the elements of the containers. All containers in C++ do not support.... Read More

#### How to check if two given sets are disjoint in C++

By Amit Raja Kalidindi

In this tutorial, we are going to learn how to check if two sets are disjoint in C++. Two sets are disjoint if the sets do not have any common elements. Naive Approach Let us consi.... Read More

#### HSV to RGB in C++

By Amit Raja Kalidindi

In this tutorial, we are going to learn how to convert HSV to RGB in C++. HSV(hue, saturation, value) and RGB(red, green, blue) are color models used for various purposes such as g.... Read More

#### 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