Sorting algorithms/Cocktail sort with shifting bounds: Difference between revisions
Content added Content deleted
m (C - use pointers instead of indices) |
m (added a blank.) |
||
Line 71: | Line 71: | ||
end |
end |
||
end</lang> |
end</lang> |
||
<big>'''%'''</big> indicates a comment, and '''deal''' indicates a ''swap''. |
<big>'''%'''</big> indicates a comment, and '''deal''' indicates a ''swap''. |
||