Skip to content

Tag: josephus

“Josephus-p‌r‌o‌b‌l‌e‌m” using list in python

I wanted to know if it will be possible to solve the Josepheus problem using list in python. In simple terms Josephus problem is all about finding a position in a circular arrangement which would be safe if executions were handled out using a skip parameter which is known beforehand. For eg : given a circular…