Pergunta de entrevista da empresa Citicapital Commercial Corp

Coding question based on data structures