Urban Company Interview Question

already explained