Official Web: https://leetcode.com/problemset/algorithms/
I haven`t written code for a long time, due to reading papers all the time. So I need to practice, or I can`t find a job...
mark: compile using g++: g++ -std=c++0x file -o file
Some Usefull Code
| No | Question | Code |
|---|---|---|
| 0 | bit array opperation | bit array (C++) |
| 1 | quick sort | quick sort (python) |
| 2 | KMP (string match) | KMP (C++) |
| 3 | Top K (Top K number) | Top K (heap build/sort) (C++) |