Rappi interview question

Explique o case