Algorithms Interview Tips
Yunkai's Top 5 Tips
1
Don’t be shy.  Ask clarifying questions and think out loud. Just like at work, if you don’t have enough information to form a solution, ask additional questions and validate your assumptions.
2
Use a brute force solution first.  Then further refine to get to the optimal solution.
3
Work through real examples to identify a better solution.  Think through various real-life use cases that you’ll need to account for.
4
Double check your Big-O analysis.  Pay attention to hidden cost that blows up the time complexity. Differentiate average time complexity vs. worst time complexity. On that last note, don’t forget to test for edge cases either.
5
HashMap is often your friend.  HashMap is rarely covered in data structure textbooks, but used very often in real code. Learn how to use and apply HashMap to solve algorithm questions in interviews.
Recommended Sites
LeetCode
Over 850 coding questions and challenges to practice. Boasts one of the largest tech communities with hundreds of thousands of active users.
LintCode
A collection of over 1k problems to help you master core concepts in Algorithms, AI, and Data Structures.
Interview Cake
Founded by a Google engineer, Interview Cake offers an entire course with step-by-step solutions that teaches you how to ace your software engineering interviews.
CoderByte
Coderbyte offers a collection of code challenges and web development courses to help you practice programming and improve your coding skills for your job interview.
Byte by Byte
A list of coding interview questions similar to ones at Google, Facebook, and Microsoft. Not only do you get practice interview questions and answers, but you’ll also find detailed explanation videos for each solution.
Want to explore opportunities with Unicorn and Baby Unicorn companies? Get Matched and Referred, on Leap!