Pregunta de entrevista de Infor

Refactoring some horribly written Kotlin code