A Binary Tree in Java is represented as pointers connecting to each other in a hierarchical manner where a node
Continue readingCategory: Binary Tree
Binary Tree Representation in C++
A Binary Tree in C++ is represented as pointers connecting to each other in a hierarchical manner where a node
Continue readingIntroduction to Trees
A Tree is a hierarchical data structure that is different from linear data structures like arrays, linked lists, stacks, and
Continue readingSubtree of Another Tree
Problem statement: Given the roots of two binary trees root and subRoot, return true if there is a subtree of
Continue readingCheck 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 reading