Pergunta de entrevista da empresa Jobsity

Classic algorithmic problems (easy to medium)