#1 Day18 methods and comptime
Opened by voroskoi on Feb 15, 2022, 4:18 PM
// voroskoi on Apr 20, 2022, 5:02 PM
This patch does 2 things:
- moves functions inside SnailNumber struct (this part works)
- uses comptime in explode() function to handle left and right childs, instead of explodeLeft() and explodeRight()
The latter one does not compile :-(