LTM Limited interview question

DBMS, Data Structures and algorithms