Posts from C++

Virtual Function in C++

By Arijit Nayak

In this tutorial, we will learn Virtual Function in C++. Virtual programming is an innovation to the object-oriented programming language. Why so? And what are the advantages and n.... Read More

Search element in a sorted matrix in C++

By Manisha Rathore

In this tutorial, we will learn how to search an element in a sorted matrix in C++. In the first place, we will have a sorted array and a number, and we have to search element. Sim.... Read More

Find all pairs of number whose sum is equal to a given number in C++

By Yash Shakya

This C++ program is able to find all the pairs of numbers in an array whose sum is equal to a specific number by using a nested loop and conditional statements. This problem is bas.... Read More

floyd’s triangle using C++

By Aryan Parthasarthi

In this tutorial, we will learn how to print Floyd’s triangle in C++. Floyd’s triangle is a triangular array of natural numbers arranged as a right triangle. In the beg.... Read More

Top view of binary tree in C++

By Zeeshan Alam

In this tutorial, we will learn about the top view of the binary tree in c++. We will also see the code implementation to find out the top view of the binary tree. We will also see.... Read More

Bottom view of the binary tree in C++

By Zeeshan Alam

In this tutorial, we will learn about the bottom view of the binary tree in C++. We will also see the code implementation to print the bottom view of the binary tree. We will see e.... Read More

Right view of the binary tree in C++

By Zeeshan Alam

In this tutorial, we will learn about the Right view of the binary tree in C++. We will also see the code implementation to find out the right view of the binary tree. We will also.... Read More

Activity Selection Problem using Greedy method in C++

By Zeeshan Alam

In this tutorial, we will learn about the activity selection problem using the greedy approach in c++. We will also see the example to understand the concept in a better way. Activ.... Read More

Related Posts