Job interviews
10 Problem Solving questions to solve before any interview
The problems that keep coming back in different forms in company interviews, with the idea that solves each one.
·1 min read
Why these problems
Interviews don't test whether you memorized solutions; they test whether you can recognize the pattern. These problems cover the most common patterns: Two Pointers, Sliding Window, Hashing and Recursion.
- Two Sum
- Valid Parentheses
- Merge Intervals
- Longest Substring Without Repeating
- Binary Search
- Reverse Linked List
- Level Order Traversal
- Climbing Stairs
- Number of Islands
- Top K Frequent Elements
How to study them
Solve each problem yourself first for 30 minutes, then look at the solution, and three days later solve it again without looking.