Pregunta de entrevista de Cognizant

asked in python, java and dbms