Well, that was a month. Congrats everyone who has reached the end, and thanks to everyone who has contributed solutions and advice.

Sometime in January I will create a megathread for visualizations. If anyone has any other ideas, happy to hear them, otherwise, take a well earned 11 month rest until next year :D

  • Zikeji
    link
    fedilink
    English
    arrow-up
    2
    ·
    10 hours ago

    Nice! Though I’m not sure if I belong on the leaderboard. There were a couple solutions I had to look up spoilers / inspiration for. My first year, next year I hope to manage it with no need to check things.

    • CameronDevOPM
      link
      fedilink
      arrow-up
      2
      ·
      10 hours ago

      I dont think that is cheating, its about learning, and seeking help/inspiration is a valid way to learn. As long as you aren’t just using an LLM or copying the code entirely, I think you belong on the leaderboard.

      • Zikeji
        link
        fedilink
        English
        arrow-up
        2
        ·
        7 hours ago

        You’re right. And my library aversion definitely made it harder. I think the day I learned the most was day 19, the towel one. Seemed simple at first but I just couldn’t wrap my mind around it, looked at a few solutions and one of the dynamic programming one solutions just blew my mind. Took me an hour or so to just wrap my head around it and then once I understood it I was able to write that abomination I posted from scratch (well, without needing to reference what I studied).

  • EnEnCode
    link
    fedilink
    English
    arrow-up
    5
    ·
    18 hours ago

    Congrats to everyone! Not first year, though first year of at least trying every problem. Burnout definitely got me by day 20 though, ha ha ha… There was a lot of ugly (readability a backseat to “code writing speed”), a lot of bad (don’t ask how long the test suite has to run for), but an occasional gem of good (my day 19 solution is some of the most dopamine from just writing code I’ve gotten. I’m only used to getting that much when it actually gets merged). I learned a little through the problems themselves, but I did learn a lot about writing macro_rules macros by creating a test suite generator and a benchmark generator. I also picked up some useful Git knowledge like --allow-unrelated-histories, interactive rebasing, --name-only, and using the reflog to help recover data (don’t ask what happened on day 23). This year was a personal success. Till next year!

    • CameronDevOPM
      link
      fedilink
      arrow-up
      1
      ·
      10 hours ago

      I liked 19 as well. Adding memoization and seeing the runtime drop to near zero was so satisfying.

      My main learning takeaway was that I am not fully aware of all the various inbuilt iterators in rust, so exploring those was quite valuable.

  • Pyro
    link
    fedilink
    arrow-up
    5
    ·
    21 hours ago

    Yay, I made it in the screenshot! Thanks everyone, this was my first year and it was a lot of fun!

  • iAvicenna@lemmy.world
    link
    fedilink
    arrow-up
    10
    ·
    1 day ago

    What do you mean final :( I am at 20 and am planning to at least do a couple more :p before the new year.

    • CameronDevOPM
      link
      fedilink
      arrow-up
      2
      ·
      1 day ago

      My apologies, keep going and ill update the post on new years eve. I dont think you’ll managed to reach the top spot though :D

        • CameronDevOPM
          link
          fedilink
          arrow-up
          2
          ·
          1 day ago

          Tbh, I cut the screenshot off there because it fit myself in, so its only fair I extend for the update. Sadly I am the second Cameron on the list :(

            • CameronDevOPM
              link
              fedilink
              arrow-up
              2
              ·
              23 hours ago

              If I sort it by global score, we are all tied for 2nd :D

              • iAvicenna@lemmy.world
                link
                fedilink
                arrow-up
                2
                ·
                edit-2
                2 hours ago

                wow we have someone with a positive global score in the leader board! well I have solved everything I can for now: all except 20,21,24 part2. part2 of these problems made me go “oh for fucks sake”. So maybe I will just steep for a while with these questions and see if I can come up with something without having to look anywhere.

    • Nighed@feddit.uk
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      21 hours ago

      Exactly, I’m going to be trying to tick a few more off if I have time

      • CameronDevOPM
        link
        fedilink
        arrow-up
        2
        ·
        23 hours ago

        That’s what I told myself last year :D good luck!

  • lwhjp@lemmy.sdf.org
    link
    fedilink
    arrow-up
    6
    ·
    1 day ago

    It was nice to see some of the same faces (as it were) again from last year!

    Also great to see more Haskell solutions, and props to those crazy enough to write in J and Uiua.