Solution to Unique Binary Search Trees by LeetCode

1 Jul

Question: https://oj.leetcode.com/problems/unique-binary-search-trees/ Question Name: Unique Binary Search Trees

Solution to Restore IP Addresses by LeetCode

30 Jun

Question: https://oj.leetcode.com/problems/restore-ip-addresses/ Question Name: Restore IP Addresses

Solution to Reverse Linked List II by LeetCode

30 Jun

Question: https://oj.leetcode.com/problems/reverse-linked-list-ii/ Question Name: Reverse Linked List II

Solution to Decode Ways by LeetCode

27 Jun

Question: https://oj.leetcode.com/problems/decode-ways/ Question Name: Decode Ways

Solution to Subsets II by LeetCode

26 Jun

Question: https://oj.leetcode.com/problems/subsets-ii/ Question Name: Subsets II

Solution to Merge Sorted Array by LeetCode

26 Jun

Question: https://oj.leetcode.com/problems/merge-sorted-array/ Question Name: Merge Sorted Array

Solution to Gray Code by LeetCode

26 Jun

Question: https://oj.leetcode.com/problems/gray-code/ Question Name: Gray Code At the beginning, I have no idea other than brute force. But thanks to Wikipedia, the perfect solution is found.

Solution to Partition List by LeetCode

26 Jun

Question: https://oj.leetcode.com/problems/partition-list/ Question Name: Partition List

Solution to Scramble String by LeetCode

26 Jun

Question: https://oj.leetcode.com/problems/scramble-string/ Question Name: Scramble String

Solution to Maximal Rectangle by LeetCode

24 Jun

Question: https://oj.leetcode.com/problems/maximal-rectangle/ Question Name: Maximal Rectangle