• Nuclear Oatmeal :paranoid:@beige.party
    link
    fedilink
    arrow-up
    1
    ·
    3 hours ago

    @Avicenna @cm0002

    To be honest, I’m kind of curious as to how that would actually work, but I put in the cranky sleep deprived code. Example being my solution for yesterday. Big ass lookup dictionary for part 2 because it was late.

    Maybe I’ll try it after I’ve got all my stars.

    A minimized capture of C# code to solve Problem 2 for 2026 Advent of Code. The top is a big lookup dictionary for part 2. Buried at the bottom is a main function, then a couple lines for solution 1, then a slightly bigger version to count all the letters and determine the map. Following is a 1 liner LINQ expression to walk an actual "map".