Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit d272f08

Browse files
author
Amogh Singhal
authored
Update josephus.py
1 parent a9058ee commit d272f08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎josephus.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Problem: A 100 soldiers standing in a circle and
1+
# Problem: N soldiers are standing in a circle and
22
# first person has sword and he kills the 2nd person
33
# and gives the sword to the third person and so on
44
# till 99th person kills the 100th person gives the

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /