Find first missing positive: Difference between revisions
m
→Using filtering and sorting: typo
m (→{{header|Quackery}}: tidied up) |
m (→Using filtering and sorting: typo) |
||
Line 953:
Then hunt for the first item which does not have the same value as its index.
<syntaxhighlight lang="Quackery"> [ dup size 1+ [] rot
witheach
[ dup 0 > iff
|