Google interview question

1) A grid game 2) Designing a custom data structure