Infosys interview question

SQL + 2 DSA questions