Coding Interview Question: Median of Arrays
Coding Interview Question: Find the median of two sorted arrays. Click for the solution.
Coding Interview Question: Find the median of two sorted arrays. Click for the solution.
Coding Interview Question: Implement a binary tree with a method getRandomNode() that returns a random node. Click for the solution.
Coding Interview Question: Given a directed graph, find the shortest path between two nodes if one exists. Click for the solution.
Coding Interview Question: Given two nodes in a binary tree, write a function to find the lowest common ancestor. Click for the solution.
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.
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.
Coding Interview Question: Given a tree, write a function that prints out the nodes of the tree in level order. Click for the solution.