Pergunta de entrevista da empresa SOUTHWORKS

Code challenge in codility, find bugs