Advent of Code 2024 Day 25

Поделиться
HTML-код
  • Опубликовано: 12 янв 2025

Комментарии • 25

  • @MarkBlakeney
    @MarkBlakeney 18 дней назад +3

    Neil, thanks very much for creating these videos. Really enjoyed watching your super-human speed and efficiency compared to myself.

  • @dracuul78
    @dracuul78 10 дней назад

    It has been really fun watching someone else solve the same problems. And I'm generally impressed how fast you scan (and guess) the core of the question, and then parse the input and solve the problem it so super quickly. Have you ever considered making videos where you solve puzzles from ProjectEuler, LeetCode, or Codingame? Anyway, I enjoyed watching someone master the power of Python (being a .NET dev myself).

  • @benjamineskildsen9649
    @benjamineskildsen9649 18 дней назад +1

    This is my second year doing AoC and watching your videos and yours are my favorite of the people recording them because you're doing them really fast but not just sitting there in silence so I can follow along with your reasoning. It also makes me feel better when you're not just instantly writing out the right solution, but rather speed-running a lot of the mistakes I also made.
    I've been doing them in C# and I like to do them "properly" with classes, etc. But watching you do them last year really opened my eyes to how much of computer programming exists just inside the programmer's head. e.g. this plain array is actually a stack if the programmer just commits to only pushing/popping the first element. Or this dictionary is actually an adjacency representation of a graph. Whereas in C# I would write a full class with appropriate getters/setters, you're just manipulating the data structures inline. Very cool.
    I would watch any video you make! But like others I am curious about your dev environment/why you chose this over other possible setups. Otherwise, see you in a year

  • @TK-ju4xi
    @TK-ju4xi 14 дней назад

    Really enjoyed your live solutions to AOC this year, hope you backsolve previous years. Your explanations are pretty good too. If you were a quant I would not be suprised. LOL

  • @utkarsh_bansal
    @utkarsh_bansal 19 дней назад +3

    This was my first year solving AOC and I really enjoyed your videos and explanations this year. Thank You.

  • @Beesman88
    @Beesman88 18 дней назад +1

    Congratz on the leaderboard!
    Today was fun, day 25 being chill day in the xmas chaos is always nice, glad it's a trend.
    Once I realized they don't have to fit perfectly, I just made both keys and locks int made from the 5x5 inner square- just |= shifting # as 1

  • @xhyrom9191
    @xhyrom9191 19 дней назад +3

    I'm glad you're recording these videos I can always watch after I solve the puzzle. Would be amazing to see some other competitions like everybody.codes or even solving 2015, 2016... AOC. Merry Christmas :) 🎄🎁

  • @Kyle-nt7nl
    @Kyle-nt7nl 18 дней назад

    Thanks for posting Neil! It really enhances my experience participating in AoC, and I think you deserve many more views for the quality of the content you create. In terms of other types of videos, I'd be curious to see you talk about your day to day work too. I assume you're a SWE or are in academia. Maybe talking through interesting papers or technologies could be compelling.
    I think the web dev youtuber space is pretty crowded, but other CS related topics I think could attract a following -- or would be interesting to me at least.

  • @bodeneinheit
    @bodeneinheit 19 дней назад +1

    Merry Christmas Neil! I would like to thank you for the daily videos that got me through December and helped me out at one time or another this year!

  • @Bundas102
    @Bundas102 19 дней назад +1

    Merry Christmas! Congrats on the extra points for the last day!
    I also forgot to quickly click the part2 link for a second. It took me 11 seconds :D still got me rank 887 -> 736. I Guess there are quite some people who missed a few problems (at the time of writing this there are 4.1k gold stars and 1.7k silver stars on day 25).
    I spent around 21 hours programming the solutions in total (and 4 hours of it is day21 part2 :D), I'm quite happy with that.
    Thanks for the videos Neil! I think many of us would watch if you made other videos. I don't have any specific ideas but I'll definitely watch them :)

  • @stekks
    @stekks 19 дней назад +2

    Merry Christmas, thanks for your videos!

  • @joellidin
    @joellidin 19 дней назад +1

    Thank you for all these videos. It has been great fun watching you solve after I finished myself. I will subscribe and look out for new videos. Merry Christmas! 🎅

  • @Mark-ij4lp
    @Mark-ij4lp 19 дней назад +1

    Congrats on the making the leaderboard, despite recording/commenting while solving and all the LLM competition you've had! I've really enjoyed your channel and look forward to more!

  • @lukegarrigan5894
    @lukegarrigan5894 19 дней назад +1

    Merry Christmas mate, thoroughly enjoyed your videos this year.

  • @artemistrubacheev7704
    @artemistrubacheev7704 19 дней назад +1

    Merry Christmas! Would love to see a setup exploration video, in particular I’m interested how this repl-like setup that allows you to do stuff manually in the same environment where your code is ran

  • @TheBIX666
    @TheBIX666 18 дней назад +1

    I will also start doing AOC 2015. Would love to get some help from your videos 😅

  • @yuxiang4218
    @yuxiang4218 19 дней назад +1

    merry christmas!

  • @FidelisAkilan-nu6vm
    @FidelisAkilan-nu6vm 19 дней назад +1

    merry christmas Neil

  • @gbegerow
    @gbegerow 18 дней назад

    I expect a successor to the 1 Billion Row challenge in early janurary. Would be interesting to see how you would tackle that. (More speed of code instead of speed of coding :-) )

  • @MattDog_222
    @MattDog_222 19 дней назад +3

    I'm slightly embarrassed at the 10 minutes I spent not realizing it didn't need to be a perfect fit, because I super skim read the problem and assumed the obvious, which was wrong. GGs and I'm glad u survived the army of LLMs. Maybe you could try speedrunning leetcode problems or something, idk, they aren't really 'competitive programming' though. But if u cant think of anything I look forward to AOC 2025

  • @rastislavsvoboda4363
    @rastislavsvoboda4363 19 дней назад +1

    congrats and thanks for all your videos; some educational videos would be welcome 🙏
    you looked stressed to make up this "complicated" solution ;-)
    def solve1(text):
    blocks = text.split("

    ")
    block_rows = blocks[0].splitlines()
    R = len(block_rows)
    C = len(block_rows[0])
    locks = []
    keys = []
    for block in blocks:
    block_lines = block.splitlines()
    pins = set((r, c) for r in range(R) for c in range(C) if block_lines[r][c] == "#")
    if all(x == "#" for x in block_lines[0]):
    locks.append(pins)
    elif all(x == "#" for x in block_lines[-1]):
    keys.append(pins)
    else:
    assert False
    return len([1 for lock in locks for key in keys if len(lock & key) == 0])

  • @eagely4422
    @eagely4422 19 дней назад +3

    You should totally do 2015 and 2016 on camera, maybe even a livestream? Also, I saw jonathanpaulson do everybody.codes in november, he said it was nice so maybe you should take a look at that.

    • @CheeseFest-
      @CheeseFest- 19 дней назад

      so 2015 was actually around a decade ago so thats impossible. Hope this helps!

    • @n0ne0ne
      @n0ne0ne 12 дней назад

      ​@@CheeseFest-tf are you talking about. The puzzles from previous years are still there bogo . Hope this helps.