Google interview question

Some custom data structures and maps