Uber Interview Question

Machine learning plus standard algorithm question.