Pergunta de entrevista da empresa Luxoft

Java, Spring Framework + find the first missing number in the sequence