Uber interview question

it is a java coding question, i forget details