Pergunta de entrevista da empresa Balad

it was mostly about the algorithmic thinking.