Pregunta de entrevista de Alegion

2 technical interviews: design and refactor code exercise.