Google Interview Question

Data structure algorithms mid level