Thanksgiving was good, we’ve completed the transition to where the current generation of adults is now in charge of everything. I made sourdough bread I can’t eat. :(
So I finally have the spare time to devote to Advent of Code this year. The times I’ve tried, I usually drop it on day 4 or 5 when I can’t keep up. But I’m treating this as my day job, interview prep.
One problem I usually have is that I don’t setup a proper testing harness. The first parts are usually easy enough that I don’t bother with tooling, but part 2 always requires me to break or refactor the simpler part 1.
Is the code good, no. Does it work, seems so. I dunno, I just couldn’t make a mental model of a rotary lock.
Not sure why exactly, but I breezed through this one. Spending a moment on process probably helped a lot here. I think my solution is ok.
Today I passed a technical screening and moved on to the real interview, but the real victory is that my code worked on the first try.