Binary Tree Data StructureLast Updated : 27 Sep, 2023ReadDiscuss(40+)CoursesLearn more about Binary Tree in DSA Self Paced CoursePractice Problems on Binary Tree !Top Quizzes on Binary TreeWhat is Binary Tree Data Structure?Binary Tree is defined as a tree data structure where each node has at most 2 children. Since each element in a binary tree can have only 2 children, we typically name them the left and right child.Binary Tree RepresentationA Binary tree is represented by a pointer to the topmost node (commonly known as the “root”) of the tree. If the tree is empty, then the value of the root is NULL. Each node of a Binary Tree contains the following parts:DataPointer to left childPointer to right childBasic Operation On Binary Tree:Inserting an element.Removing an element.Searching for an element.Traversing the tree.Auxiliary Operation On Binary Tree:Finding the height of the treeFind the level of a node of the treeFinding the size of the entire tree.Topic :IntroductionBasic OperationTraversalsStandard Problems on Binary TreesIntroduction :Introduction to Binary Tree – Data Structure and Algorithm TutorialsProperties of Binary TreeTypes of Binary TreeApplications, Advantages and Disadvantages of Binary TreeBinary Tree (Array implementation)Complete Binary TreePerfect Binary TreeBasic Operations on Binary Tree:Tree Traversals (Inorder, Preorder and Postorder)Level Order Tree TraversalFind the Maximum Depth or Height of given Binary TreeInsertion in a Binary TreeDeletion in a Binary TreeEnumeration of Binary TreesSome other important Binary Tree Traversals :Level order traversal in spiral formReverse Level Order TraversalBFS vs DFS for Binary TreeInorder Tree Traversal without RecursionMorris traversal for PreorderIterative Preorder TraversalIterative Postorder Traversal Using Two StacksDiagonal Traversal of Binary TreeBoundary Traversal of binary treeMore >>Must solve Standard Problems on Binary Tree Data Structure:EasyCalculate depth of a full Binary tree from PreorderConstruct a tree from Inorder and Level order traversalsCheck if a given Binary Tree is SumTreeCheck if two nodes are cousins in a Binary TreeCheck if removing an edge can divide a Binary Tree in two halvesCheck whether a given binary tree is perfect or notCheck if a Binary Tree contains duplicate subtrees of size 2 or moreCheck if two trees are MirrorFoldable Binary TreesSymmetric Tree (Mirror Image of itself)Write Code to Determine if Two Trees are IdenticalSubtree with given sum in a Binary TreeSuccinct Encoding of Binary TreeWrite a program to Calculate Size of a treeDiameter of a Binary TreeGet Level of a node in a Binary TreeMediumFind all possible binary trees with given Inorder TraversalPopulate Inorder Successor for all nodesConstruct Complete Binary Tree from its Linked List RepresentationMinimum swap required to convert binary tree to binary search treeConvert a given Binary Tree to Doubly Linked List | Set 1Convert a tree to forest of even nodesFlip Binary TreePrint root to leaf paths without using recursionCheck if given Preorder, Inorder and Postorder traversals are of same treeCheck 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 2Find largest subtree sum in a treeMaximum sum of nodes in Binary tree such that no two are adjacentLowest Common Ancestor in a Binary Tree | Set 1Height of a generic tree from parent arrayFind distance between two given keys of a Binary TreeHardModify a binary tree to get Preorder traversal using right pointers onlyConstruct Full Binary Tree using its Preorder traversal and Preorder traversal of its mirror treeConstruct a special tree from given preorder traversalConstruct tree from ancestor matrixConstruct the full k-ary tree from its preorder traversalConstruct Binary Tree from String with bracket representationConvert a Binary Tree into Doubly Linked List in spiral fashionConvert a Binary Tree to a Circular Doubly Link ListConvert Ternary Expression to a Binary TreeCheck if there is a root to leaf path with given sequenceRemove all nodes which don’t lie in any path with sum>= kMaximum spiral sum in Binary TreeSum of nodes at k-th level in a tree represented as stringSum of all the numbers that are formed from root to leaf pathsMerge Two Binary Trees by doing Node Sum (Recursive and Iterative)Find root of the tree where children id sum for every node is givenQuick Links :‘Practice Problems’ on Trees‘Quizzes’ on Binary Trees‘Videos’ on TreesRecommended:Learn Data Structure and Algorithms | DSA TutorialIf 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 writecomments if you find anything incorrect, or you want to share more information about the topic discussed above.