Problemset
Solve problems in your browser — pick a language, implement the function, and Submit for an instant verdict. Your solved problems are tracked automatically.
| # | Problem | Difficulty | Topics |
|---|---|---|---|
| 1 | Two Sum | 🟢 Easy | Array, Hash Table |
| 2 | Two Sum II - Input Array Is Sorted | 🟡 Medium | Array, Two Pointers, Binary Search |
| 3 | Valid Parentheses | 🟢 Easy | String, Stack |
| 4 | Maximum Subarray | 🟡 Medium | Array, Dynamic Programming |
| 5 | Contains Duplicate | 🟢 Easy | Array, Hash Table, Sorting |
| 6 | Best Time to Buy and Sell Stock | 🟢 Easy | Array, Dynamic Programming |
| 7 | Single Number | 🟢 Easy | Array, Bit Manipulation |
| 8 | Majority Element | 🟢 Easy | Array, Hash Table |
| 9 | Product of Array Except Self | 🟡 Medium | Array, Prefix Sum |
| 10 | Plus One | 🟢 Easy | Array, Math |
| 11 | Climbing Stairs | 🟢 Easy | Dynamic Programming, Math |
| 12 | Fibonacci Number | 🟢 Easy | Math, Dynamic Programming, Recursion |
| 13 | Valid Anagram | 🟢 Easy | String, Hash Table, Sorting |
| 14 | Binary Search | 🟢 Easy | Array, Binary Search |
| 15 | Search Insert Position | 🟢 Easy | Array, Binary Search |
Discussion
Newest first