Leetcode做题笔记
Two Sum
- The return numbers in vector should be increasely order.
Longest Substring Without Repeating Characters
- Record the position of every characters so far.
Median of Two Sorted Arrays
- Use the method of findKth
- The start index should add to k
Longest Palindromic Substring
- Use Manacher algorithm.reference
- Time complexity ...