Jump to content

Dutch national flag problem: Difference between revisions

m
m (→‎{{header|Wren}}: Minor tidy)
imported>Thebeez
Line 3,904:
i = i + 1 ' fairly efficient exchange
j = j + 1
Else If @(j) = 2 thenThen ' case "blue"
Push @(j) : @(j) = @(k) : @(k) = Pop()
k = k - 1 ' fairly efficient exchange
Line 3,926:
 
0 OK, 0:858</pre>
 
=={{header|UNIX Shell}}==
{{works with|Bash}}
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.