0
Has anyone tried solving Josephus problem with python?! I'll be thankful if anyone could help me!
check these for more info. https://en.m.wikipedia.org/wiki/Josephus_problem https://en.m.wikipedia.org/wiki/Josephus_problem#Solution
4 ответов
+ 10
search code playground for many examples
+ 8
Yep, searching for "Josephus" and filtering by "py" brings up several codes worth recommendation.
+ 2
here is my solution.
https://code.sololearn.com/cFbjZC25CLsz/?ref=app
+ 1
just wrote a code
https://code.sololearn.com/cn5HQuLfqu9Z/?ref=app