int2str 🇺🇦 @int2str.net · Dec 11

I've completed "Plutonian Pebbles" - Day 11 - Advent of Code 2024 #AdventOfCode real 0m0.018s user 0m0.014s sys 0m0.003s No memoization, single threaded! Well, AFTER I first tried those things with the wrong algorithm :D Glad I figured it out! github.com/int2str/adve...

3 likes 2 replies

?

Replies

int2str 🇺🇦 · Dec 11

Oh, and no recursion...

arto · Dec 11

Nice, if I'm understanding correctly this is similar to my solution. What kind of data structure is the buffer though? Oh and what is [[nodiscard]]'s role here?