Hackerrank – Snakes and Ladders: The Quickest Way Up

Problem Statement
A description of the problem can be found on Hackerrank.

Solution

I created solution in:

All solutions are also available on my GitHub.

Ruby