You are viewing a single comment's thread. Return to all comments →
I think there is problem in the algorithm, instead of reversing the subarray , it should be sorted.
Bigger is Greater
You are viewing a single comment's thread. Return to all comments →
I think there is problem in the algorithm, instead of reversing the subarray , it should be sorted.