Jump to content

Josephus problem: Difference between revisions

m
→‎iterative: categorised FTCBASIC
m (→‎iterative: categorised FTCBASIC)
Line 3,028:
 
===iterative===
ALGOL 68, ANSI Standard BASIC, AppleScript[1,3(!!)], BASIC, Batch File, C (but not ULL), Common Lisp[1], Craft Basic, Factor, Forth, FreeBASIC, FTCBASIC, Modula-2, Python[2], R, Racket, Ring, SequenceL, ZX Spectrum Basic<br>
Method: iterative mod maths madness - but hey, it will be extremely fast. Unlike recursive, it can also deliver >1 survivor, one at a time.
<!--<syntaxhighlight lang="phix">-->
7,805

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.