Google Interview Question

two rounds of data structure and algorithms