Python Coding Challenge: The Josephus Problem

Published: 08 July 2024
on channel: Compucademy
338
4

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


On this page of the site you can watch the video online Python Coding Challenge: The Josephus Problem with a duration of hours minute second in good quality, which was uploaded by the user Compucademy 08 July 2024, share the link with friends and acquaintances, this video has already been watched 338 times on youtube and it was liked by 4 viewers. Enjoy your viewing!