Infosys Interview Question

DS: (1)Merge sort implementation (2) string reversal