Posts by Himanshu Baranwal

Author Biographical Info: Not available

C++ program to check if leaf traversal of two Binary Trees is same

By Himanshu Baranwal

In this tutorial we will learn how to tell if leaf traversal of two binary trees is the same or not. Leaf traversal of a tree means traversing each leaf of the binary tree from the.... Read More

C++: Minimum time to burn a Tree starting from a Leaf node

By Himanshu Baranwal

In this tutorial we will learn about how to find minimum time to burn a tree from a given leaf node. Consider the following binary tree as an input:   20 /   10     /    \ 4.... Read More

Assert and static_assert in C++

By Himanshu Baranwal

In this tutorial, you will study about two most useful assertion statements provided in C++. These are: assert static_assert Functionalities of these statements are present in C++ .... Read More

Valarray slice selector in C++

By Himanshu Baranwal

In this tutorial, you will learn Valarray slice selector in C++. Here you will find: inbuilt function own user-defined function Valarray slice selector is class defined in the inbu.... Read More