I was trying to implement merge sort for the first time, that too with only one array. I just typed whatever came in mind at first, which is irrelevant.
The problem i