Uber interview question

sql easy-med and business context