Pergunta de entrevista da empresa Turbolab Technologies

Coding question based on DSA