Pergunta de entrevista da empresa RBC

The questions were rather simple, no catch