Pregunta de entrevista de Revolut

Write something based on abstract requirements