Uber interview question

data structured based hard problems