Amazon interview question

Design question of a data structure for an application