Pergunta de entrevista da empresa Fast Enterprises

I was asked to do a pseudo code problem.