HashedIn by Deloitte interview question

Data Structures and some DBMS