Skip to content

Latest commit

 

History

History
98 lines (95 loc) · 28.1 KB

Tree.md

File metadata and controls

98 lines (95 loc) · 28.1 KB

Tree (90 completed)

Back to top


# Title Level Cats Solution Languages Date Complete
94 Binary Tree Inorder Traversal Easy solution java, py Jun 29, 2024
98 Validate Binary Search Tree Medium B75, N150 solution c Jun 23, 2024
100 Same Tree Easy B75, N150 solution py Jul 03, 2024
102 Binary Tree Level Order Traversal Medium B75, N150 solution java Jul 04, 2024
103 Binary Tree Zigzag Level Order Traversal Medium solution py Jul 03, 2024
104 Maximum Depth of Binary Tree Easy B75, N150 solution py Jul 04, 2024
107 Binary Tree Level Order Traversal II Medium solution java Jul 04, 2024
110 Balanced Binary Tree Easy N150 solution py Jul 04, 2024
111 Minimum Depth of Binary Tree Easy solution c, java Jun 07, 2024
112 Path Sum Easy solution py Jul 03, 2024
113 Path Sum II Medium solution py Jul 03, 2024
114 Flatten Binary Tree to Linked List Medium solution c, py Jun 11, 2024
124 Binary Tree Maximum Path Sum Hard B75, N150 solution py Jul 04, 2024
129 Sum Root to Leaf Numbers Medium solution py Jun 07, 2024
145 Binary Tree Postorder Traversal Easy Daily solution py Aug 25, 2024
173 Binary Search Tree Iterator Medium solution py Jun 26, 2024
199 Binary Tree Right Side View Medium N150 solution cpp, java Jul 04, 2024
226 Invert Binary Tree Easy B75, N150 solution py Jul 03, 2024
230 Kth Smallest Element in a BST Medium B75, N150 solution py Jun 29, 2024
235 Lowest Common Ancestor of a Binary Search Tree Medium B75, N150 solution py Jul 04, 2024
236 Lowest Common Ancestor of a Binary Tree Medium B75 solution py Jul 15, 2024
272 Closest Binary Search Tree Value II Hard solution py Jul 01, 2024
314 Binary Tree Vertical Order Traversal Medium solution py Jun 12, 2024
341 Flatten Nested List Iterator Medium solution java Jul 02, 2024
366 Find Leaves of Binary Tree Medium solution py Jun 12, 2024
426 Convert Binary Search Tree to Sorted Doubly Linked List Medium solution py Jun 12, 2024
429 N-ary Tree Level Order Traversal Medium solution py Jul 04, 2024
431 Encode N-ary Tree to Binary Tree Hard solution java, py Jun 28, 2024
437 Path Sum III Medium solution py Jul 03, 2024
450 Delete Node in a BST Medium solution py Jun 29, 2024
513 Find Bottom Left Tree Value Medium solution java Jul 03, 2024
543 Diameter of Binary Tree Easy N150 solution c, java, py Jun 03, 2024
559 Maximum Depth of N-ary Tree Easy solution py Sep 24, 2024
572 Subtree of Another Tree Easy B75, N150 solution py Jun 03, 2024
590 N-ary Tree Postorder Traversal Easy Daily solution py Aug 26, 2024
606 Construct String from Binary Tree Medium solution java, py Aug 04, 2024
637 Average of Levels in Binary Tree Easy solution py Jul 04, 2024
653 Two Sum IV - Input is a BST Easy solution py Jul 31, 2024
654 Maximum Binary Tree Medium solution py Jun 12, 2024
662 Maximum Width of Binary Tree Medium solution py Oct 28, 2024
663 Equal Tree Partition Medium solution py Jun 17, 2024
666 Path Sum IV Medium Weekly Premium solution py Jul 03, 2024
687 Longest Univalue Path Medium solution py Jul 03, 2024
690 Employee Importance Medium solution java Jul 02, 2024
700 Search in a Binary Search Tree Easy solution c, java, py Jul 17, 2024
703 Kth Largest Element in a Stream Easy Daily, N150 solution py Jul 05, 2024
776 Split BST Medium Weekly Premium solution py Jun 29, 2024
863 All Nodes Distance K in Binary Tree Medium solution py Jun 26, 2024
894 All Possible Full Binary Trees Medium solution py Jul 29, 2024
919 Complete Binary Tree Inserter Medium solution py Jul 05, 2024
938 Range Sum of BST Easy solution js, py Jul 26, 2024
951 Flip Equivalent Binary Trees Medium Daily solution py Oct 24, 2024
979 Distribute Coins in Binary Tree Medium solution py Jul 26, 2024
987 Vertical Order Traversal of a Binary Tree Hard solution py Jun 12, 2024
993 Cousins in Binary Tree Easy solution py Jul 04, 2024
1008 Construct Binary Search Tree from Preorder Traversal Medium solution c, cpp, java Jun 27, 2024
1026 Maximum Difference Between Node and Ancestor Medium solution py Jun 23, 2024
1028 Recover a Tree From Preorder Traversal Hard solution py Jul 01, 2024
1038 Binary Search Tree to Greater Sum Tree Medium Daily solution c Jun 26, 2024
1110 Delete Nodes And Return Forest Medium Daily solution py Jul 17, 2024
1161 Maximum Level Sum of a Binary Tree Medium solution py Jul 17, 2024
1302 Deepest Leaves Sum Medium solution c, js, py Jun 07, 2024
1305 All Elements in Two Binary Search Trees Medium solution java Jun 24, 2024
1315 Sum of Nodes with Even-Valued Grandparent Medium solution py Jun 12, 2024
1325 Delete Leaves With a Given Value Medium solution py Aug 22, 2024
1367 Linked List in Binary Tree Medium Daily solution py Sep 07, 2024
1372 Longest ZigZag Path in a Binary Tree Medium solution py Jul 05, 2024
1376 Time Needed to Inform All Employees Medium solution py Oct 26, 2024
1382 Balance a Binary Search Tree Medium solution py Jun 29, 2024
1448 Count Good Nodes in Binary Tree Medium N150 solution java Jul 04, 2024
1457 Pseudo-Palindromic Paths in a Binary Tree Medium solution py Jul 05, 2024
1490 Clone N-ary Tree Medium solution java, py Jun 02, 2024
1522 Diameter of N-Ary Tree Medium solution py Jul 03, 2024
1530 Number of Good Leaf Nodes Pairs Medium Daily solution py Jul 18, 2024
1602 Find Nearest Right Node in Binary Tree Medium solution java, py Jul 03, 2024
1609 Even Odd Tree Medium solution py Jul 05, 2024
1650 Lowest Common Ancestor of a Binary Tree III Medium solution py Jun 10, 2024
1660 Correct a Binary Tree Medium solution py Jun 27, 2024
1676 Lowest Common Ancestor of a Binary Tree IV Medium solution py Jun 29, 2024
1740 Find Distance in a Binary Tree Medium Weekly Premium solution py Jul 15, 2024
1973 Count Nodes Equal to Sum of Descendants Medium solution c Jun 23, 2024
2096 Step-By-Step Directions From a Binary Tree Node to Another Medium Daily solution py Jul 16, 2024
2196 Create Binary Tree From Descriptions Medium Daily solution py Jul 15, 2024
2265 Count Nodes Equal to Average of Subtree Medium solution js, py Jun 07, 2024
2385 Amount of Time for Binary Tree to Be Infected Medium solution py Jun 26, 2024
2415 Reverse Odd Levels of Binary Tree Medium Daily solution py Jun 23, 2024
2458 Height of Binary Tree After Subtree Removal Queries Hard Daily solution py Oct 26, 2024
2583 Kth Largest Sum in a Binary Tree Medium Daily solution py Oct 22, 2024
3157 Find the Level of Tree with Minimum Sum Medium solution py Jul 05, 2024
3249 Count the Number of Good Nodes Medium solution py Aug 12, 2024