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.
Coding Interview Question: Given an unsorted array, find the length of the longest sequence of consecutive numbers in the array. Click for the solution.