Sonder Interview Question

Refactor some code pasted in by the engineer