Aftaas interview question

related to technical questions like array,strings,dbms