Sorting algorithms/Insertion sort: Difference between revisions
Content added Content deleted
Line 348: | Line 348: | ||
S[J + 1]:= Ch; |
S[J + 1]:= Ch; |
||
end; |
end; |
||
end; |
end;</lang> |
||
</lang> |
|||
<pre> |
<pre> |
||
// in : S = 'the quick brown fox jumps over the lazy dog' |
// in : S = 'the quick brown fox jumps over the lazy dog' |