Pregunta de entrevista de Liberty Mutual Insurance

The interview question was about data structures