Pregunta de entrevista de Deliveroo

How would you extend your (coding test) solution to do X?