Google interview question

Algo and Data Structure problems