Posts by Amit Raja Kalidindi

Author Biographical Info: Not available

C++ program for Array Representation Of Binary Heap

By Amit Raja Kalidindi

In this tutorial, we are going to learn how to represent a Binary Heap using an array in C++. In a Binary Tree, if all the levels are completely filled excluding the last level and.... Read More

Tokenizing a string in C++

By Amit Raja Kalidindi

In this tutorial, we are going to learn how to tokenize a string in C++. The process of splitting a string into tokens with respect to a given delimiter is known as tokenizing. Exa.... Read More

Data Abstraction in C++

By Amit Raja Kalidindi

In this tutorial, we are going to learn about Data Abstraction in C++. Data Abstraction is the process of showing only the functionality of an object by hiding its implementation d.... Read More

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