Posts from C++

Normal Distribution in C++

By Pritam Hande

In this tutorial, we will learn about normal distribution and its implementation in C++. Before proceeding further let’s first understand what is a normal distribution. Norma.... Read More

Multiple inheritance in C++

By Raj Gaurav

Hello everyone, in this tutorial we learn about MULTIPLE INHERITANCE in C++. Before we start I expected that you all are aware of inheritance, INHERITANCE means, the mechanism of .... Read More

Program to Rotate Doubly linked list by N nodes in C++

By Yogender Narayan

In this tutorial, we are going to learn about the Program to Rotate Doubly linked list by N nodes in C++. Firstly, we will learn about the doubly linked list. Introduction A doubl.... Read More

Longest Common Substring in C++ using dynamic programming

By Zeeshan Alam

In this tutorial, we will learn about how to find the longest common substring(LCS) by using a dynamic approach. We will also see the code implementation in c++ to find the longest.... Read More

Build balanced BST from sorted array in C++

By Zeeshan Alam

In this tutorial, we will learn to how to build a balanced BST(binary search tree) from a sorted array in C++. We will also see examples to understand the concept in a better way. .... Read More

Find the root of an equation using Newton Raphson method in C++

By Pritam Hande

In this tutorial, we will learn how to find out the root of an equation using the newton raphson method in C++. Before proceeding further let’s first understand what is the newt.... Read More

Root to leaf path sum in a Binary tree in C++

By Zeeshan Alam

In this tutorial, we will learn about how to find the root to leaf path sum in a binary tree. We will also see the recursive code implementation in C++. We will also see the exampl.... Read More

Binary Tree Traversals in C++

By Shanigaram Mahesh

In this tutorial, we will learn Binary tree traversals in C++. Three standard ways to traverse a binary tree T with root R are preorder, inorder, postorder, are as follows: Preord.... Read More

Related Posts