DEV Community

loading...

Discussion on: AoC Day 8: Memory Maneuver

Collapse
mustafahaddara profile image
Mustafa Haddara

Woah, that recursive constructor for Tree is really clever!

I considered building an object and then processing it after the fact, but decided to process it as I parsed it...I regretted that when I saw part 2 though 😅