Google interview question

Data structures and alghorithms (in Python).