Josephus problem: Difference between revisions
Content deleted Content added
m →{{header|Phix}}: added syntax colouring the hard way |
m →sliding queue: added Quackery |
||
Line 2,888:
===sliding queue===
Clojure, Crystal, D (both), Eiffel, Elixir, Erlang, friendly interactive shell, Go, jq, Perl, PowerShell, PureBasic (albeit one at a time), Quackery, Raku, REBOL, Ruby, Scala, Sidef[1], Tcl.
Method: all skipped prisoners rejoin the end of the queue which sidles left, executioner stays put until the queue gets too short.
<!--<lang Phix>-->
|