Adobe interview question

Logical puzzle . Merge sort . Find reapted character in a string