DEV Community

Discussion on: AoC Day 9: Marble Mania

Collapse
 
thejoezack profile image
Joe Zack

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 :)