Pergunta de entrevista da empresa Freelancer

Two Problem solving questions algorithm