• Pluckerpluck@programming.dev
    link
    fedilink
    arrow-up
    5
    ·
    7 months ago

    If you didn’t happen to do string replacements it wasn’t so bad.

    Yeah. I was using regex to find the numbers as a quick implementation before realizing that floor. Just switched it to use a positive lookahead to solve that issue.

    Day 3 was one of those challenges that if you thought of a good method quickly it wasn’t too bad. Ended up compiling strings and using regex again. Worked really well actually.