Google interview question

only Data structures and algorithms