Google Interview Question

Return array with all values in a binary search tree that are between two values x and y.