Learn algorithms. However the knowledge of data structure is also required.
Data Structure + Algorithms = Programs
NO. | Problem | Approach | Difficulty |
---|---|---|---|
0001 | Two Sum | Easy | |
0002 | Add Two Numbers | Medium | |
0003 | Longest Substring Without Repeating Characters | Medium | |
0014 | Longest Common Prefix | Easy | |
0021 | Merge Two Sorted Lists | Easy | |
0035 | Search Insert Position | ||
0045 | Jump Game II |