Uber interview question

implement a program with very little direction