- Published on
5 Coding Problems You Should Know by Heart
- Authors
- Name
- Ronald Luo, MSc
Five Questions to Memorize Before Your Next Technical Interview
- Two Sum
Is there a data structure with a fast look up time that we can use to speed up our solution?
- Reverse Linked List
Linked lists are a vital component of every computer science education. Using a one-pass two pointer technique, how can we turn our linked list around?
- Invert Binary Tree
Binary trees are similar to linked lists, if you consider the idea that at every node, you can take two paths instead of one. Let's see if we can use recursion to flip the leaves of the tree around.
- Binary Search
Higher or lower? When you're given a sorted array and asked to find a target, how can you find it faster than O(N)?
- Best Time to Buy and Sell Stock
Is there a way to find the optimal trades without looking at all possibilities?
💻 Continue practicing from the best (free) resources out there
- Check out Coding Interview University for a comprehensive education on data structures and algorithms.
- Check out Pitt CS's LeetCode study plan to get you on track in ~12 weeks.
- Check out Jeremy Aguilon's blog where he ranks questions by cram score.
- Check out Neetcode.io, video explanations from a Google software engineer.
👋 Thanks for making it to the end!