WellDev interview question

Merge sort code writing. Coin change problem