Article

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

Article

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

Article

Coding Interview Question: Implement a binary tree with a method getRandomNode() that returns a random node. Click for the solution.

Article

Coding Interview Question: Given a directed graph, find the shortest path between two nodes if one exists. Click for the solution.

Article

Coding Interview Question: Given two nodes in a binary tree, write a function to find the lowest common ancestor. Click for the solution.

Article

Coding Interview Question: Given an sorted n x m array, write a function to determine whether the array contains an element x. Click for the solution.

Article

Coding Interview Question: Given a list of integers, find all sets of 3 numbers in the list, a, b, and c, so that a + b + c == 0. Click for the solution.

Article

Coding Interview Question: Given a tree, write a function that prints out the nodes of the tree in level order. Click for the solution.

© Byte by Byte 2016-2022

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.