We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 980d953 commit 8aa29d7Copy full SHA for 8aa29d7
algorithms/arrays/josephus.py
@@ -9,7 +9,6 @@
9
Output: 369485271
10
"""
11
12
-
13
def josephus(int_list, skip):
14
skip = skip - 1 # list starts with 0 index
15
idx = 0
0 commit comments