Binary Tree Data Structure Last Updated : 22 Feb, 2024 A Binary Tree Data Structure is a hierarchical data structure in which each node has at most two children, referred to as the left child and the right child. It is commonly used in computer science for efficient storage and retrieval of data, with various operations such as insertion, deletion, and traversal. Introduction : Introduction to Binary Tree – Data Structure and Algorithm Tutorials Properties of Binary Tree Types of Binary Tree Applications, Advantages and Disadvantages of Binary Tree Binary Tree (Array implementation) Complete Binary Tree Perfect Binary Tree Basic Operations on Binary Tree: Tree Traversals (Inorder, Preorder and Postorder) Level Order Tree Traversal Find the Maximum Depth or Height of given Binary Tree Insertion in a Binary Tree Deletion in a Binary Tree Enumeration of Binary Trees Some other important Binary Tree Traversals : Level order traversal in spiral form Reverse Level Order Traversal BFS vs DFS for Binary Tree Inorder Tree Traversal without Recursion Morris traversal for Preorder Iterative Preorder Traversal Iterative Postorder Traversal Using Two Stacks Diagonal Traversal of Binary Tree Boundary Traversal of binary tree More >> Must solve Standard Problems on Binary Tree Data Structure: Easy Calculate depth of a full Binary tree from Preorder Construct a tree from Inorder and Level order traversals Check if a given Binary Tree is SumTree Check if two nodes are cousins in a Binary Tree Check if removing an edge can divide a Binary Tree in two halves Check whether a given binary tree is perfect or not Check if a Binary Tree contains duplicate subtrees of size 2 or more Check if two trees are Mirror Foldable Binary Trees Symmetric Tree (Mirror Image of itself) Write Code to Determine if Two Trees are Identical Subtree with given sum in a Binary Tree Succinct Encoding of Binary Tree Write a program to Calculate Size of a tree Diameter of a Binary Tree Get Level of a node in a Binary Tree Medium Find all possible binary trees with given Inorder Traversal Populate Inorder Successor for all nodes Construct Complete Binary Tree from its Linked List Representation Minimum swap required to convert binary tree to binary search tree Convert a given Binary Tree to Doubly Linked List | Set 1 Convert a tree to forest of even nodes Flip Binary Tree Print root to leaf paths without using recursion Check if given Preorder, Inorder and Postorder traversals are of same tree Check whether a given Binary Tree is Complete or not | Set 1 (Iterative Solution) Check if a binary tree is subtree of another binary tree | Set 2 Find largest subtree sum in a tree Maximum sum of nodes in Binary tree such that no two are adjacent Lowest Common Ancestor in a Binary Tree | Set 1 Height of a generic tree from parent array Find distance between two given keys of a Binary Tree Hard Modify a binary tree to get Preorder traversal using right pointers only Construct Full Binary Tree using its Preorder traversal and Preorder traversal of its mirror tree Construct a special tree from given preorder traversal Construct tree from ancestor matrix Construct the full k-ary tree from its preorder traversal Construct Binary Tree from String with bracket representation Convert a Binary Tree into Doubly Linked List in spiral fashion Convert a Binary Tree to a Circular Doubly Link List Convert Ternary Expression to a Binary Tree Check if there is a root to leaf path with given sequence Remove all nodes which don’t lie in any path with sum>= k Maximum spiral sum in Binary Tree Sum of nodes at k-th level in a tree represented as string Sum of all the numbers that are formed from root to leaf paths Merge Two Binary Trees by doing Node Sum (Recursive and Iterative) Find root of the tree where children id sum for every node is given Quick Links : ‘Practice Problems’ on Trees ‘Quizzes’ on Binary Trees ‘Videos’ on Trees Recommended: Learn Data Structure and Algorithms | DSA Tutorial If you like GeeksforGeeks and would like to contribute, you can also write an article and mail your article to review-team@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks. Please write comments if you find anything incorrect, or you want to share more information about the topic discussed above. Share your thoughts in the comments Add Your Comment Please Login to comment...