@@ -372,6 +372,7 @@ Problem | Solution | Time | Space | Difficul
372
372
[ Populating Next Right Pointers in Each Node] |[ populating-next-right-pointers-in-each-node.py] | _ O(n)_ | _ O(logn)_ | Medium |
373
373
[ Same Tree] |[ same-tree.py] | _ O(n)_ | _ O(logn)_ | Easy |
374
374
[ Sum Root to Leaf Numbers] | [ sum-root-to-leaf-numbers.py] | _ O(n)_ | _ O(logn)_ | Medium |
375
+ [ Unique Binary Search Trees II] | [ unique-binary-search-trees-ii.py] | _ O(4^n / n^(3/2))_ | _ O(4^n / n^(3/2))_ | Medium |
375
376
376
377
[ Balanced Binary Tree ] :https://oj.leetcode.com/problems/balanced-binary-tree/
377
378
[ balanced-binary-tree.py ] :https://github.com/kamyu104/LeetCode/blob/master/Python/balanced-binary-tree.py
@@ -397,6 +398,8 @@ Problem | Solution | Time | Space | Difficul
397
398
[ same-tree.py ] :https://github.com/kamyu104/LeetCode/blob/master/Python/same-tree.py
398
399
[ Sum Root to Leaf Numbers ] :https://oj.leetcode.com/problems/sum-root-to-leaf-numbers/
399
400
[ sum-root-to-leaf-numbers.py ] :https://github.com/kamyu104/LeetCode/blob/master/Python/sum-root-to-leaf-numbers.py
401
+ [ Unique Binary Search Trees II ] :https://oj.leetcode.com/problems/unique-binary-search-trees-ii/
402
+ [ unique-binary-search-trees-ii.py ] :https://github.com/kamyu104/LeetCode/blob/master/Python/unique-binary-search-trees-ii.py
400
403
401
404
402
405
---
@@ -525,6 +528,7 @@ Problem | Solution | Time | Space | Difficul
525
528
[ Regular Expression Matching] | [ regular-expression-matching.py] | _ O(m * n)_ | _ O(n)_ | Hard |
526
529
[ Scramble String] | [ scramble-string.py] | _ O(n^4)_ | _ O(n^3)_ | Hard |
527
530
[ Triangle] | [ triangle.py] | _ O(m * n)_ | _ O(n)_ | Medium |
531
+ [ Unique Binary Search Trees] | [ unique-binary-search-trees.py] | _ O(n^2)_ | _ O(n)_ | Medium |
528
532
529
533
[ Best Time to Buy and Sell Stock III ] :https://oj.leetcode.com/problems/best-time-to-buy-and-sell-stock-iii/
530
534
[ best-time-to-buy-and-sell-stock-iii.py ] :https://github.com/kamyu104/LeetCode/blob/master/Python/best-time-to-buy-and-sell-stock-iii.py
@@ -554,7 +558,8 @@ Problem | Solution | Time | Space | Difficul
554
558
[ scramble-string.py ] :https://github.com/kamyu104/LeetCode/blob/master/Python/scramble-string.py
555
559
[ Triangle ] :https://oj.leetcode.com/problems/triangle/
556
560
[ triangle.py ] :https://github.com/kamyu104/LeetCode/blob/master/Python/triangle.py
557
-
561
+ [ Unique Binary Search Trees ] :https://oj.leetcode.com/problems/unique-binary-search-trees/
562
+ [ unique-binary-search-trees.py ] :https://github.com/kamyu104/LeetCode/blob/master/Python/unique-binary-search-trees.py
558
563
559
564
---
560
565
0 commit comments