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
- Host: GitHub
- URL: https://github.com/rolandtritsch/scala-josephus
- Owner: rolandtritsch
- Created: 2013-06-23T20:46:28.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2015-02-26T14:11:46.000Z (over 10 years ago)
- Last Synced: 2025-02-10T13:44:23.094Z (8 months ago)
- Language: Scala
- Size: 121 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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"`