Google interview question

Solving a problem using data structures