Adobe Interview Question

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