Uber interview question

Data Structures DBMS OOPs Java