Coding Ninjas interview question

regarding SQL, DSA and EXCEL