Deliveroo interview question

Array processing, filtering and data transformation