Pergunta de entrevista da empresa Citadel

Basic algorithms, clean and readable code is more important than efficiency.