Skip to content

Conversation

@CHOCOCHANEL
Copy link
Collaborator

from collections import deque

deque 모듈을 활용하여
요세푸스 문제와 비슷하게 풀었습니다.

주요 아이디어는 flag='right'를 이용했다는 점과
killed 리스트의 길이를 체크하며,
m명의 인원이 죽었을 때 flag를 바꾸어준 점입니다.

@CHOCOCHANEL CHOCOCHANEL changed the title 20301 반전요세푸스 정재홍 week1 20301 반전요세푸스 정재홍 Apr 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant