Deliveroo Interview Question

Online pair programming question around dictionary