Skip to content

amarjitmult/Josephus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Solution to Josephus problem

Used two approaches to solve. Default using loop and works for large values of "n"(persons) second approach uses recursive function but does not work for large values of n.

Run using sbt command

- sbt "run 200 4"

Unit Testing

- sbt test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages