Problem statement: Given the roots of two binary trees root and subRoot, return true if there is a subtree of
Continue readingCategory: Binary Tree
Check if Binary Tree is BST
Problem Statement: You are given the root of a binary tree. The task is to determine if the given binary
Continue readingCount Number of Nodes in a Binary Tree
In this article, we will solve the most asked coding interview problem: Count Number of Nodes in a Binary Tree
Continue readingBinary Tree Traversal : Inorder Preorder Postorder
The tree is a non-linear data structure, unlike Linked List and Arrays. It is a hierarchical data structure that can
Continue readingApplication of Tree Data Structure
The tree is a non-linear data structure, unlike Linked List and Arrays. It is a hierarchical data structure as each
Continue readingConstruct Binary Tree from Inorder and PostOrder Traversal
In this article, we will solve the most asked coding interview problem: Construct A Binary Tree from Inorder and PostOrder
Continue readingConstruct A Binary Tree from Inorder and Preorder Traversal
In this article we will solve the most asked coding interview problem: Construct A Binary Tree from Inorder and Preorder
Continue readingStriver’s Tree Series : Tree Data Structure
In this post we will check “Striver’s Tree Series : Tree Data Structure”. What is a tree data structure? There
Continue readingHow to construct a Binary Tree using different traversals?
Problem Statement: Requirements are needed to construct a unique binary tree. In this article, we will understand the traversals required to
Continue readingCheck for Children Sum Property in a Binary Tree
Problem Statement: Children Sum Property in a Binary Tree. Write a program that converts any binary tree to one that follows
Continue reading