Dutch national flag problem: Difference between revisions

Content added Content deleted
No edit summary
No edit summary
Line 197: Line 197:
{{output}}
{{output}}
<pre>
<pre>
WBRWRBRRRBRWWBWRWWBR, is sorted? ->
BBBRWBRBBRWRWWRWRBRW, is sorted? ->


RRRRRRRRWWWWWWWBBBBB, is sorted? -> X
RRRRRRRWWWWWWBBBBBBB, is sorted? -> X
</pre>
</pre>