Pergunta de entrevista da empresa Microsoft

Write a CleanAPI() method to remove dirty values in a list of integers.