Merge Operations to Reach Minimum Bound - Coding problem | OneNoughtOne