Pergunta de entrevista da empresa TATA ELXSI

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