Skip to content
  • Courses
  • Resources
  • Blog
  • Courses
  • Resources
  • Blog
BOOK COACHING
  • 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 »
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 »
Integer to Roman Numeral: Coding Interview Question

Coding Interview Question: Integer to Roman Numerals

Coding Interview Question: Given an integer, write a function to return its roman numeral representation. 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.
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