Update: oops, I was studying this puzzle for fun and didn't quite get the rules right. In the original problem, one people are eliminated, they no longer form part of the circle for the purposes of counting...
A fun Python coding challenge based on a classic historical puzzle.
Check out my Algorithmic Thinking with Python Courses on LinkedIn Learning:
/ foundations-of-algorithmic-thinking-with-p...
/ advanced-algorithmic-thinking-with-python
🖥️🖥️🖥️🖥️🖥️🖥️🖥️🖥️
Pastebin with solution and text-to-circle code (not essential for solution):https://pastebin.com/jps12L5S
A great Maths lesson on the Josephus Problem: https://www.ucd.ie/mathstat/t4media/1...
#python #algorithms #compsci #pythonbeginners #learntocode
Auf dieser Seite können Sie das Online-Video Python Coding Challenge: The Josephus Problem mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Compucademy 08 Juli 2024 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 338 Mal angesehen und es wurde von 4 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!