Python Coding Challenge: The Josephus Problem

Pubblicato il: 08 luglio 2024
sul canale di: 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


In questa pagina del sito puoi guardare il video online Python Coding Challenge: The Josephus Problem della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Compucademy 08 luglio 2024, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 338 volte e gli è piaciuto 4 spettatori. Buona visione!