Cognizant interview question

Array Sorting Question, Riddles, and Aptitude Questions