Skip to content

SiyaBedi/CS146_CircularLinkedListGame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

CS146_CircularLinkedListGame

There are n number of prisoners. We start from the first prisoner and count down k prisoners down the line. The prison we land on each time will be eliminated until only one prisoner remains. Each time we reach the end of the line, we start from the first prisoner again and this is why we use a circular linked list.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages