Skip to content

Latest commit

 

History

History
79 lines (76 loc) · 6.74 KB

Tree.md

File metadata and controls

79 lines (76 loc) · 6.74 KB

Tree

Easy


100. Same Tree
101. Symmetric Tree
104. Maximum Depth of Binary Tree
107. Binary Tree Level Order Traversal II
108. Convert Sorted Array to Binary Search Tree
110. Balanced Binary Tree
111. Minimum Depth of Binary Tree
112. Path Sum
226. Invert Binary Tree
235. Lowest Common Ancestor of a Binary Search Tree
257. Binary Tree Paths
404. Sum of Left Leaves
437. Path Sum III
501. Find Mode in Binary Search Tree
530. Minimum Absolute Difference in BST
538. Convert BST to Greater Tree
543. Diameter of Binary Tree
559. Maximum Depth of N-ary Tree
563. Binary Tree Tilt
572. Subtree of Another Tree
589. N-ary Tree Preorder Traversal
606. Construct String from Binary Tree
617. Merge Two Binary Trees
637. Average of Levels in Binary Tree
653. Two Sum IV - Input is a BST
669. Trim a Binary Search Tree
671. Second Minimum Node In a Binary Tree
687. Longest Univalue Path
700. Search in a Binary Search Tree
783. Minimum Distance Between BST Nodes
872. Leaf-Similar Trees
897. Increasing Order Search Tree
938. Range Sum of BST
965. Univalued Binary Tree
993. Cousins in Binary Tree
1022. Sum of Root To Leaf Binary Numbers

Medium


94. Binary Tree Inorder Traversal
95. Unique Binary Search Trees II
96. Unique Binary Search Trees
98. Validate Binary Search Tree
102. Binary Tree Level Order Traversal
103. Binary Tree Zigzag Level Order Traversal
105. Construct Binary Tree from Preorder and Inorder Traversal
106. Construct Binary Tree from Inorder and Postorder Traversal
109. Convert Sorted List to Binary Search Tree
113. Path Sum II
114. Flatten Binary Tree to Linked List
116. Populating Next Right Pointers in Each Node
117. Populating Next Right Pointers in Each Node II
129. Sum Root to Leaf Numbers
144. Binary Tree Preorder Traversal
173. Binary Search Tree Iterator
199. Binary Tree Right Side View
222. Count Complete Tree Nodes
230. Kth Smallest Element in a BST
236. Lowest Common Ancestor of a Binary Tree
331. Verify Preorder Serialization of a Binary Tree
337. House Robber III
429. N-ary Tree Level Order Traversal
513. Find Bottom Left Tree Value
654. Maximum Binary Tree
655. Print Binary Tree
814. Binary Tree Pruning
863. All Nodes Distance K in Binary Tree
1609. Even Odd Tree

Hard


99. Recover Binary Search Tree
124. Binary Tree Maximum Path Sum
145. Binary Tree Postorder Traversal
297. Serialize and Deserialize Binary Tree