Solution to Binary Tree Preorder Traversal by LeetCode

23 Jul

Question: https://oj.leetcode.com/problems/binary-tree-preorder-traversal/ Question Name: Binary Tree Preorder Traversal

Solution to Reorder List by LeetCode

22 Jul

Question: https://oj.leetcode.com/problems/reorder-list/ Question Name: Reorder List

Solution to Linked List Cycle II by LeetCode

22 Jul

Question: https://oj.leetcode.com/problems/linked-list-cycle-ii/ Question Name: Linked List Cycle II Same as the problem in Cracking the Coding Interview.

Solution to Linked List Cycle by LeetCode

22 Jul

Question: https://oj.leetcode.com/problems/linked-list-cycle/ Question Name: Linked List Cycle Same as the problem in Cracking the Coding Interview.

Solution to Word Break II by LeetCode

22 Jul

Question: https://oj.leetcode.com/problems/word-break-ii/ Question Name: Word Break II

Solution to Word Break by LeetCode

18 Jul

Question: https://oj.leetcode.com/problems/word-break/ Question Name: Word Break Similar with Palindrome Partitioning II by LeetCode. Dynamic programming is suitable here.

Solution to Copy List with Random Pointer by LeetCode

18 Jul

Question: https://oj.leetcode.com/problems/copy-list-with-random-pointer/ Question Name: Copy List with Random Pointer Quite similar with the Clone Graph by LeetCode.

Solution to Single Number by LeetCode

18 Jul

Question: https://oj.leetcode.com/problems/single-number/ Question Name: Single Number

Solution to Candy by LeetCode

18 Jul

Question: https://oj.leetcode.com/problems/candy/ Question Name: Candy