Pregunta de entrevista de Acumatica

Optimize a provided method that prints a list of unique numbers from a given string.