re: AoC Day 9: Marble Mania VIEW POST


I think this has been my favorite problem so far.

I wrote a helper method "cycle" that would move $x left or right and made for an easy translation from the problem description to code.

Part B was a nice surprise for a lazy Sunday morning :)

code of conduct - report abuse