Skip to content

Latest commit

 

History

History
8 lines (6 loc) · 437 Bytes

readme.md

File metadata and controls

8 lines (6 loc) · 437 Bytes

Killing Game

Challenge

100 people standing in a circle in an order 1 to 100. No. 1 has a sword. He kills the next person (i.e. No. 2) and gives the sword to the next (i.e. No. 3). All people do the same until only 1 survives. Which number survives at the last?

Solution

A repository to contain the implementation in as many languages as I can. Hopefully.