Infosys interview question

Questions on dsa, oops, sql.