coding interview prep cover with faded black background

10 Best Coding Interview Resources for 2021 [Coding Interview Prep]

A typical coding interview lasts about 45 minutes. And that can seem like a lifetime if you aren’t prepared.

But if you study, know your data structures and algorithms, and know how to talk to employers, that time can fly by. ✈️

And the result? It could be the job you’ve been hoping and waiting for.

Today, we’re looking at 10 of the best coding interview prep resources to get you ready for your big day.

This post contains affiliate links. I may receive compensation if you buy something. Read my disclosure for more details.

TLDR: Best Coding Interview Prep Resources

🔥
Best Course 🔥
Grokking the Coding Interview by Educative.io


💥 Best Book 💥
Cracking the Coding Interview by Gayle Laakmann McDowell

Coding Interview Prep: COURSES

1. Grokking the Coding Interview – Educative.io

Sliding Window pattern in the course Grokking the Coding Interview on Educative.io

Grokking the Coding Interview by Educative.io is one of the best intermediate coding interview resources this year.

That’s because the creators of this course had one goal in mind for programmers: “the ability to map a new problem to an already known problem.”

So instead of 25, 50 or even 100 coding problems, you’ll find 16 patterns for solving coding questions. The idea is that once you’re familiar with a pattern, you’ll be able to solve multiple problems with it.

💡 Reusing design patterns reduces issues and improves code readability for coders familiar with the patterns.

❤️ We love Educative.io and this course! Read our full Grokking the Coding Interview review.

Course Layout

Educative.io has an interactive layout. So instead of setting up your own environment, you’ll do all work inside the same browser using over 1000 coding playgrounds.

💡 In the interactive coding playground, you can solve problems in Java, Python 3, JavaScript or C++.

Coding playground in the course Grokking the Coding Interview on Educative.io

Each of the 16 patterns in Grokking the Coding Interview is given its own module. Some of the patterns include:

  • Sliding Window
  • Two Pointers
  • Merge Intervals
  • Cyclic Sort

And beyond.

Support

There’s an area at the end of each section where you can connect with other students and mentors.

💰 Price: $79 per year for the course / $59 per month or $199 per year ($16.66/mo) for all courses
⏲️ Duration: 50 hours
📉 Level: Intermediate
🖥️ Format: Interactive learning
🎖️ Certificate: Yes

🔥 Geena’s Hot Take

If you want to get really wild, consider combining Grokking the Coding Interview with the book Cracking the Coding Interview by Gayle Laakmann McDowell.

Then watch how your coding interview skills become fire. 🔥


2. Master the Coding Interview: Data Structures and Algorithms – Zero to Mastery

Lesson in the course Master the Coding Interview: Data Structures and Algorithms on Zero to Mastery

Clocking in at just under 20 hours, Master the Coding Interview: Data Structures and Algorithms is another one of the best coding interview resources on our list.

Andrei Neagoie headshot creator of The Complete Web Developer in 2020 Zero to Mastery
Andrei Neagoie

It was created by well-known instructor Andrei Neagoie who also worked as a senior software developer in Silicon Valley and Toronto.

And instead of Educative.io’s interactive learning, you’ll learn with a series of video lessons on Zero to Mastery.

In Master the Coding Interview, you’ll learn how to ace coding interviews given by FAANG companies. You’ll do this by learning and implementing different data structures and algorithms.

❤️ Zero to Mastery is another one of our all-time favorite platforms. Read our full Zero to Mastery review to find out why.

Course Layout

You’ll watch a series of videos that teach you how to use different data structures and algorithms.

For example, you’ll learn:

  • hash tables
  • stacked and queues
  • linked lists

And much more.

You’ll also get insight on how to get more FAANG interviews.

Support

Zero to Mastery has a thriving community on Discord and LinkedIn.

💰 Price: $29 per month / $264 per year ($22/mo) for full platform access
⏲️ Duration: 19.5 hours
📉 Level: Intermediate
🖥️ Format: Video
🎖️ Certificate: Yes

Use code FRIENDS10 at checkout and SAVE 10%


3. AlgoExpert

AlgoExpert control panel with video explanation of Nth Fibonacci
Video explanation of nth degree on AlgoExpert

AlgoExpert is a platform unlike any other. It’s almost like a combination of Educative.io’s interactive learning exercises and Zero to Mastery’s video explanations… on steroids.

clément mihailescu headshot co-founder of algoexpert
Clément Mihailescu

This beginner+ platform has helped countless developers get hired at FAANG companies. And it was created by a former Facebook and Google employee Clément Mihailescu.

AlgoExpert isn’t actually a course. Instead, it has 150+ hand-picked algorithms questions that range from easy to very hard.

❤️ Can you still feel the love? AlgoExpert is at the top of our list alongside Educative.io and Zero to Mastery. Read our full AlgoExpert review to discover what makes it wonderful.

Layout

AlgoExpert has a unique blend of video and interactive learning. You’ll do all work in the same browser within a kick-ass 4-pane integrated workspace where you’ll find:

  • prompt
  • scratchpad
  • solutions
  • video explanation
4-pane integrated workstation environment in AlgoExpert
4-pane integrated workspace on AlgoExpert

In addition to choosing the syntax, light/dark mode and font, you can solve your problems in 9 programming languages:

JavaScriptTypeScriptPython
SwiftKotlinC++
JavaC#Go

The problems you’ll find in AlgoExpert are commonly asked at FAANG interviews.

Support

AlgoExpert doesn’t have an official community.

💰 Price: $99 per year / $139 per year for AlgoExpert & SystemsExpert
⏲️ Duration: 100+ hours
📉 Level: Beginner+
🖥️ Format: Video and interactive learning
🎖️ Certificate: Yes

Use code realtoughcandy
and SAVE 10%


4. Technical Interview Practice with Python – Codecademy

Clarifying the problem with video of man in front of whiteboard Codecademy Python review
Whiteboard interview lesson in Technical Interview Practice with Python on Codecademy

Technical Interview Practice with Python is one of the best coding interview prep resources for programmers who need to practice their whiteboarding skills.

💡 Whiteboard interviews are when you use a dry erase board to write out a code solution to a problem given by the interviewer.

Codecademy Pro is a favorite for many. Read our full review Is Codecademy Worth It? to find out why.

Course Layout

Codecademy has an interactive learning environment sprinkled with videos.

In Technical Interview Practice with Python, you’ll practice whiteboarding. You’ll also flex your skills with two mini-projects: Capturing Rain Water and Longest Common Subsequence.

Support

Codecademy Pro has a busy community where you can get help, share projects and chat with other students.

💰 Price: $39.99 per month / $239.88 per year ($19.99/mo) for full platform access
⏲️ Duration: 5 hours
📉 Level: Intermediate
🖥️ Format: Video and interactive learning
🎖️ Certificate: Yes


5. Technical Interviewing – Treehouse

Technical Interviewing is one of the best coding interview prep resources for whiteboarding and pair programming.

💡 Pair programming is when two people work on the same programming problem together.

In this hour-long video course, you’ll learn what technical interviews are. Then you’ll discover tools and techniques for a stellar technical interviewing experience.

This is one of the best coding interview prep courses for students with a short attention span.

Course Layout

Treehouse has a video learning environment where you’ll do all work on your local machine.

Treehouse video of cartoon whiteboard with code
Whiteboard interview lesson in the course Technical Interviewing on Treehouse

In Technical Interviewing, you’ll learn:

  • how to prepare for questions
  • whiteboarding
  • alternatives to whiteboarding
  • tools

And more.

Is Treehouse worth it? Read our Treehouse Review.

Support

Treehouse has a community forum where you can get help from other students.

💰 Price: $25 per month for all courses
⏲️ Duration: 1 hour
📉 Level: Beginner
🖥️ Format: Video
🎖️ Certificate: No


Coding Interview Resources: BOOKS

6. Cracking the Coding Interview

🚨 Ideal for: primarily Java programmers
💥 Major topics: big O notation, algorithms

Cracking the Coding Interview book laying on dry cracked earth

Cracking the Coding Interview by Gayle Laakmann McDowell is hands down one of the best coding interview prep books.

💡 Gayle Laakmann McDowell also wrote a children’s book with her sister: The Bedtime Bunny.

❤️ Cracking the Coding Interview is one of our favorite coding interview prep books. Read our review Cracking the Coding Interview to find out why.

There are 189 programming problems. But you’ll also get solution walkthroughs and hints you’d typically find at coding interviews.

The majority of solutions are written in Java. So if you don’t know Java, Cracking the Coding Interview probably isn’t the book for you.

Instead, you could try Elements of Programming Interviews in Python (below).


7. Programming Interviews Exposed

🚨 Ideal for: primarily Java programmers
💥 Major topics: linked lists, trees and graphs, recursion

Programming Interviews Exposed cover with overhead of runners crossing finish line

Programming Interviews Exposed by John Mongan, Noah Kindler and Eric Giguere is another one of our favorite coding interview prep books. It contains over 50 questions you can expect to find at coding interviews.

You’ll find coding interview prep questions on core programming concepts such as:

  • linked lists
  • trees and graphs
  • arrays and strings
  • recursion

And more.

❤️ We really enjoyed this book. Read our complete review of Programming Interviews Exposed to find out why.

Similar to Cracking the Coding Interview, the majority of problems are in Java. But you’ll also find C, C++, C# and JavaScript.


8. Elements of Programming Interviews in Python

🚨 Ideal for: Python programmers
💥 Major topics: data structures, algorithm design principles, concurrency

Elements of Programming Interviews in Python with Python logo

Elements of Programming Interviews by Adnan Aziz, Tasung-Hsien Leen and Amit Prakash is one of the best Python coding interview prep books.

For starters, there are over 250 problems asked at actual coding interviews.

Coding problems are based on:

  • data structures
  • algorithm design principles
  • concurrency

And more.

Python not your preferred programming language? Check out Elements of Programming Interviews in Java or Elements of Programming Interviews in C++.


9. The Algorithm Design Manual

🚨 Ideal for: C, C++ and Java programmers
💥 Major topics: randomized algorithms, quantum computing

The Algorithm Design Manual cover with various shapes

The Algorithm Design Manual by Steven Skiena is regarded by many as one of the best coding interview prep books.

You’ll learn about methods for designing and analyzing computer algorithms.

diagram of insertion sort and lines of code and 2 paragraphs

You’ll also tackle:

  • randomized algorithms
  • hashing
  • divide and conquer
  • quantum computing

And more.

💡 Quantum computing is cold! In fact, the cores of D-Wave computers are -460 degrees Fahrenheit. That’s almost absolute zero. 🥶

Many of the algorithms are written in C. Implementations are presented in C, C++ and Java.

The is the most approachable book on algorithms I have.

Megan Squire, Elon University



10. The Complete Coding Interview Guide in Java

🚨 Ideal for: Java programmers
💥 Major topics: time complexity, object-oriented programming, recursion

The Complete Coding Interview Guide in Java cover with tropical leaves

The Complete Coding Interview Guide in Java by Anghel Leonard contains over 200 coding interview problems and solutions. Each of them is written and solved in Java.

Topics covered include:

  • time complexity
  • object-oriented programming
  • recursion

And more.


Coding Interview Prep: Conclusion

Today we looked at the best coding interview prep resources:

🔥 Best Course 🔥
Grokking the Coding Interview by Educative.io

💥 Best Book 💥
Cracking the Coding Interview by Gayle Laakmann McDowell

So whether you prefer reading or taking courses, we think there’s a coding interview prep resource for just about everyone.


Up Next:


  1. What are the best coding interview resources?

    We think books and courses are the best coding interview resources. If you're looking for a course, we think Grokking the Coding Interview on Educative.io is the way to go. And if you're looking for a book, we think Cracking the Coding Interview by Gayle Laakmann McDowell is the best.

  2. Is the book The Complete Coding Interview Guide in Java worth it?

    We think The Complete Coding Interview Guide in Java by Anghel Leonard is worth it. It contains over 200 coding interview problems and solutions. Each of them is written and solved in the Java programming language.
    Topics covered include time complexity, object-oriented programming, recursion and more.

  3. Will Master the Coding Interview on Zero to Mastery help me get a job?

    In Master the Coding Interview, you'll learn how to ace coding interviews given by some of the top tech companies. You'll do this by learning and implementing different data structures and algorithms. In addition, you'll learn how to become more confident, handle offers, negotiate raises, and master computer science fundamentals.