100_DataStructures_Algorithms_Projects
100_DataStructures_Algorithms_Projects
61-80: Trees
61. Binary Tree Traversals: Implement pre-order, in-order, and post-order tree
traversals.
62. Height of a Binary Tree: Find the height of a binary tree.
63. Check Balanced Binary Tree: Determine if a binary tree is balanced.
64. Level Order Traversal: Perform level order traversal of a binary tree.
65. Binary Search Tree (BST): Implement a BST with insert, delete, and search
operations.
66. Lowest Common Ancestor in BST: Find the lowest common ancestor of two nodes in
a BST.
67. Binary Tree Maximum Path Sum: Find the maximum path sum in a binary tree.
68. Flatten Binary Tree to Linked List: Convert a binary tree into a flattened
linked list.
69. Diameter of Binary Tree: Find the diameter (longest path between any two nodes)
of a binary tree.
70. Validate Binary Search Tree: Check if a given tree is a valid BST.
71. Construct Binary Tree from Preorder and Inorder Traversal: Reconstruct a binary
tree from preorder and inorder traversals.
72. Symmetric Binary Tree: Check if a binary tree is symmetric around its center.
73. Merge Two Binary Trees: Merge two binary trees into a single binary tree.
74. Binary Tree Zigzag Level Order Traversal: Perform zigzag level order traversal
of a binary tree.
75. Vertical Order Traversal of Binary Tree: Perform vertical order traversal of a
binary tree.
76. Convert Sorted Array to Binary Search Tree: Convert a sorted array to a height-
balanced BST.
77. Path Sum: Find if there is a path in a binary tree that sums to a given value.
78. Kth Smallest Element in a BST: Find the kth smallest element in a binary search
tree.
79. Serialize and Deserialize Binary Tree: Implement serialization and
deserialization of a binary tree.
80. Binary Search Tree Iterator: Implement an iterator to traverse a BST in-order.
"""