An open API service indexing awesome lists of open source software.

https://github.com/rolandtritsch/scala-josephus

Scala based solution to Josephus Problem
https://github.com/rolandtritsch/scala-josephus

Last synced: 6 months ago
JSON representation

Scala based solution to Josephus Problem

Awesome Lists containing this project

README

          

# Scala based solution to Josephus Problem

[Josephus Problem](http://en.wikipedia.org/wiki/Josephus_problem) is fun.

To make it work you need to ...

* install sbt (e.g. port install sbt)
* build it: `sbt compile`
* test it `sbt test`
* run it `sbt "run 40 3"`