Can You See Problems On This Algorithm W...
Posted by Alonzo West in
Uncategorized on 08 29th, 2009 |
No Comments
Now the first step is it scans the given array and blocks the elements that are already sorted in ascending order, otherwise it will be blocked as one element. After every pass, it scans if a new block can be formed, for example, if we move [4] between [2,3] and [1] then we will now be having [2,3]...