Pregunta de entrevista de Citicapital Commercial Corp

Coding question based on data structures