Infosys interview question

Arrays Palindrome Sorting Searching Patterns