Google interview question

Technical question about data structure and codings