added some trick ques with arrays