Rootquotient Interview Question

All based upon DSA and SQL , DBMS