Pergunta de entrevista da empresa DoorDash

How to code something in Swift.