Cognizant interview question

asked in python, java and dbms