Pregunta de entrevista de TATA ELXSI

reverse an array,query for some conditions in database management system.