HashedIn by Deloitte Interview Question

Questions on Trees, Time Complexity, Optimization of code, DBMS