Skip to content
  • Courses
  • Resources
  • Blog
  • About
Menu
  • Courses
  • Resources
  • Blog
  • About
STUDENT LOGIN
  • Courses
  • Resources
  • Blog
  • About
  • Student Login
Menu
  • Courses
  • Resources
  • Blog
  • About
  • Student Login

Coding Interview Questions

  • July 22, 2021
coding interview questions

They say practice makes perfect. Well here's your chance to practice!

We've compiled a list of over 50 different practice coding interview questions, like the ones that you will see in coding interviews at Google, Facebook, and Microsoft. Not only do you get practice interview questions and answers, but we create detailed explanation videos for each solution, showing you how to solve it in an interview.

When you're practicing these interview questions, be sure to practice writing them down on paper. You may not have a computer in you interview, so don't get used to having one when you practice.

Not sure how to get started with your coding interview prep? Check out our getting started page here.

Coding Interview Questions by Category

Looking for something specific? Try looking for the best practice coding interview questions for you in one of these categories.

All Problems
EasyMediumHard
ArraysBit ManipulationDynamic Programming
GraphsLinked ListsQueues
RecursionSearchingSorting
StacksStringsTrees

Not sure what you're looking for? Check out some of our recent coding interview questions.

Median of Arrays: Coding Interview Question

Coding Interview Question: Median of Arrays

Coding Interview Question: Find the median of two sorted arrays. Click for the solution.

Read More »
Priority Queue: Coding Interview Question

Coding Interview Question: Priority Queue

Coding Interview Question: Implement a priority queue. Click for the solution.

Read More »
Inorder Traversal: Coding Interview Question

Coding Interview Question: Inorder Traversal

Coding Interview Question: Given a binary search tree, print out the elements of the tree in order without using recursion. Click for the solution.

Read More »
0-1 Knapsack: Coding Interview Question

Coding Interview Question: 0-1 Knapsack

Coding Interview Question: Given a list of items, find the maximum value you can generate from the items. Click for the solution.

Read More »
Matrix Product: Coding Interview Question

Coding Interview Question: Matrix Product

Coding Interview Question: Given a matrix, find the path from top left to bottom right with the greatest product. Click for the solution.

Read More »
Find Duplicates: Coding Interview Question

Coding Interview Question: Find Duplicates

Coding Interview Question: Given an array of integers where each value 1 <= x <= len(array), write a function that finds all the duplicates in the array. Click for the solution.

Read More »

DON'T DO ANOTHER CODING INTERVIEW...

...until you've mastered these 50 questions!

GET YOUR FREE GUIDE

RECOMMENDED ARTICLES

data structures

Article

The Definitive Guide to Data Structures for Coding Interviews

Data structures are critical to coding interview success. In this post, I'll show you exactly which data structures you need to know to nail your interviews.

Article

Acing the Google Interview: The Ultimate Guide

Acing the Google interview. Every engineer's dream. But the Google interview is really hard. In this post, you'll learn exactly how to prepare effectively.
stuck on coding interview

Article

10 ways to get unstuck and never fail another coding interview

It happens time and again. People fail coding interviews because they don’t know what to do when stuck on a problem. Developing a clear plan of attack helps you to succeed at any whiteboard coding interview.
Envelope Twitter Facebook Linkedin Youtube

© Byte by Byte 2016-2022

Privacy Policy

Terms and Conditions

Earnings Disclaimer

What if coding interviews were easy?

Sounds impossible right? It’s not!

Let me show you the RIGHT way to study for interviews so you can ace your Google Interview without breaking a sweat.

Download my FREE guide to the 50 most common coding interview questions asked at companies like Google, Facebooks, and Amazon.

Download my FREE guide to the 50 most common coding interview questions asked at companies like Google, Facebooks, and Amazon.

Get fully prepared for your Coding Interview and save 20% with Exponent. Learn More  →