Pergunta de entrevista da empresa Trainline

A snippet of code for code reviewing exercise