AOL Interview Question

technical problem : give the count of duplicates in the array merge 2 sorted array reverse a string (input : Hel'lo output: oll'eh) special characters retain their position