Pergunta de entrevista da empresa VacuumLabs

they asked one difficult algorithm question