roshan@blog:~$

Ruby

3 posts · All posts

Josephus Problem Ruby Code

A Ruby solution to the classic Josephus problem, a circular elimination algorithm that is a common exercise for understanding modular arithm…

Programming