Skip to content

An implementation of Linked Lists in Ruby, and a solution for the Josephus problem, using said lists

Notifications You must be signed in to change notification settings

slepkin/LinkedList-Josephus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

LinkedList - Josephine

An implementation of Linked Lists in Ruby, and a solution for the Josephus problem, using said lists.

Run LL.rb in ruby to for test case, or require it and call

josephine(n,k)

with circle size n, and every k people executed.

About

An implementation of Linked Lists in Ruby, and a solution for the Josephus problem, using said lists

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages