0094 | Binary Tree Inorder Traversal | Go | Easy | O(n) | O(1) | | 73.8% |
0095 | Unique Binary Search Trees II | Go | Medium | | | | 52.3% |
0096 | Unique Binary Search Trees | Go | Medium | O(n^2) | O(n) | | 59.6% |
0098 | Validate Binary Search Tree | Go | Medium | O(n) | O(1) | | 32.0% |
0099 | Recover Binary Search Tree | Go | Medium | O(n) | O(1) | | 51.0% |
0100 | Same Tree | Go | Easy | O(n) | O(1) | | 58.1% |
0101 | Symmetric Tree | Go | Easy | O(n) | O(1) | | 54.3% |
0102 | Binary Tree Level Order Traversal | Go | Medium | O(n) | O(1) | | 64.3% |
0103 | Binary Tree Zigzag Level Order Traversal | Go | Medium | O(n) | O(n) | | 56.9% |
0104 | Maximum Depth of Binary Tree | Go | Easy | O(n) | O(1) | | 73.9% |
0105 | Construct Binary Tree from Preorder and Inorder Traversal | Go | Medium | | | | 61.5% |
0106 | Construct Binary Tree from Inorder and Postorder Traversal | Go | Medium | | | | 60.0% |
0107 | Binary Tree Level Order Traversal II | Go | Medium | O(n) | O(1) | | 61.1% |
0108 | Convert Sorted Array to Binary Search Tree | Go | Easy | O(n) | O(1) | | 69.8% |
0109 | Convert Sorted List to Binary Search Tree | Go | Medium | | | | 60.2% |
0110 | Balanced Binary Tree | Go | Easy | O(n) | O(1) | | 49.0% |
0111 | Minimum Depth of Binary Tree | Go | Easy | O(n) | O(1) | | 44.4% |
0112 | Path Sum | Go | Easy | O(n) | O(1) | | 48.2% |
0113 | Path Sum II | Go | Medium | O(n) | O(1) | | 57.1% |
0114 | Flatten Binary Tree to Linked List | Go | Medium | O(n) | O(1) | | 61.8% |
0116 | Populating Next Right Pointers in Each Node | Go | Medium | | | | 60.4% |
0124 | Binary Tree Maximum Path Sum | Go | Hard | O(n) | O(1) | | 39.2% |
0129 | Sum Root to Leaf Numbers | Go | Medium | O(n) | O(1) | | 61.0% |
0144 | Binary Tree Preorder Traversal | Go | Easy | O(n) | O(1) | | 66.8% |
0145 | Binary Tree Postorder Traversal | Go | Easy | O(n) | O(1) | | 67.9% |
0173 | Binary Search Tree Iterator | Go | Medium | O(n) | O(1) | | 69.7% |
0199 | Binary Tree Right Side View | Go | Medium | O(n) | O(1) | | 61.6% |
0222 | Count Complete Tree Nodes | Go | Medium | O(n) | O(1) | | 60.5% |
0226 | Invert Binary Tree | Go | Easy | O(n) | O(1) | | 74.7% |
0230 | Kth Smallest Element in a BST | Go | Medium | O(n) | O(1) | | 70.1% |
0235 | Lowest Common Ancestor of a Binary Search Tree | Go | Medium | O(n) | O(1) | | 61.5% |
0236 | Lowest Common Ancestor of a Binary Tree | Go | Medium | O(n) | O(1) | | 58.8% |
0257 | Binary Tree Paths | Go | Easy | O(n) | O(1) | | 61.4% |
0297 | Serialize and Deserialize Binary Tree | Go | Hard | | | | 55.4% |
0331 | Verify Preorder Serialization of a Binary Tree | Go | Medium | | | | 44.6% |
0337 | House Robber III | Go | Medium | | | | 53.9% |
0341 | Flatten Nested List Iterator | Go | Medium | | | | 61.8% |
0404 | Sum of Left Leaves | Go | Easy | O(n) | O(1) | | 56.7% |
0429 | N-ary Tree Level Order Traversal | Go | Medium | | | | 70.7% |
0437 | Path Sum III | Go | Medium | O(n) | O(1) | | 48.0% |
0508 | Most Frequent Subtree Sum | Go | Medium | | | | 64.9% |
0513 | Find Bottom Left Tree Value | Go | Medium | | | | 66.9% |
0515 | Find Largest Value in Each Tree Row | Go | Medium | O(n) | O(n) | | 64.6% |
0530 | Minimum Absolute Difference in BST | Go | Easy | | | | 57.3% |
0538 | Convert BST to Greater Tree | Go | Medium | | | | 67.8% |
0543 | Diameter of Binary Tree | Go | Easy | | | | 56.8% |
0559 | Maximum Depth of N-ary Tree | Go | Easy | | | | 71.7% |
0563 | Binary Tree Tilt | Go | Easy | | | | 60.0% |
0572 | Subtree of Another Tree | Go | Easy | | | | 46.4% |
0589 | N-ary Tree Preorder Traversal | Go | Easy | | | | 75.9% |
0617 | Merge Two Binary Trees | Go | Easy | | | | 78.6% |
0623 | Add One Row to Tree | Go | Medium | | | | 59.5% |
0637 | Average of Levels in Binary Tree | Go | Easy | O(n) | O(n) | | 71.8% |
0653 | Two Sum IV - Input is a BST | Go | Easy | | | | 61.0% |
0662 | Maximum Width of Binary Tree | Go | Medium | | | | 40.7% |
0669 | Trim a Binary Search Tree | Go | Medium | | | | 66.4% |
0700 | Search in a Binary Search Tree | Go | Easy | | | | 77.7% |
0701 | Insert into a Binary Search Tree | Go | Medium | | | | 74.3% |
0703 | Kth Largest Element in a Stream | Go | Easy | | | | 55.5% |
0783 | Minimum Distance Between BST Nodes | Go | Easy | | | | 59.3% |
0834 | Sum of Distances in Tree | Go | Hard | | | | 59.1% |
0863 | All Nodes Distance K in Binary Tree | Go | Medium | | | | 62.2% |
0872 | Leaf-Similar Trees | Go | Easy | | | | 67.6% |
0897 | Increasing Order Search Tree | Go | Easy | | | | 78.4% |
0938 | Range Sum of BST | Go | Easy | | | | 85.9% |
0958 | Check Completeness of a Binary Tree | Go | Medium | | | | 56.2% |
0968 | Binary Tree Cameras | Go | Hard | | | | 46.6% |
0971 | Flip Binary Tree To Match Preorder Traversal | Go | Medium | | | | 50.0% |
0979 | Distribute Coins in Binary Tree | Go | Medium | | | | 72.2% |
0987 | Vertical Order Traversal of a Binary Tree | Go | Hard | | | | 45.1% |
0993 | Cousins in Binary Tree | Go | Easy | O(n) | O(1) | | 54.6% |
1022 | Sum of Root To Leaf Binary Numbers | Go | Easy | | | | 73.6% |
1026 | Maximum Difference Between Node and Ancestor | Go | Medium | | | | 75.8% |
1028 | Recover a Tree From Preorder Traversal | Go | Hard | | | | 73.3% |
1038 | Binary Search Tree to Greater Sum Tree | Go | Medium | | | | 85.5% |
1104 | Path In Zigzag Labelled Binary Tree | Go | Medium | | | | 75.1% |
1110 | Delete Nodes And Return Forest | Go | Medium | | | | 69.3% |
1123 | Lowest Common Ancestor of Deepest Leaves | Go | Medium | | | | 70.9% |
1145 | Binary Tree Coloring Game | Go | Medium | | | | 51.7% |
1302 | Deepest Leaves Sum | Go | Medium | | | | 86.7% |
1305 | All Elements in Two Binary Search Trees | Go | Medium | | | | 79.8% |
1600 | Throne Inheritance | Go | Medium | | | | 63.6% |
1609 | Even Odd Tree | Go | Medium | | | | 54.3% |
2096 | Step-By-Step Directions From a Binary Tree Node to Another | Go | Medium | | | | 48.4% |
———— | ——————————————————- | ——- | —————- | ————— | ————- | ————- | ————- |