Range overlap and intersection - Day 05 - Advent of Code

แชร์
ฝัง
  • เผยแพร่เมื่อ 2 ม.ค. 2025

ความคิดเห็น • 6

  • @JonathanVANDERBOSSE
    @JonathanVANDERBOSSE ปีที่แล้ว +1

    At 9:00: got a question here. Why you over complicate the process? Why don't you just return the seed number instead as explained in the topic? I actually did the part one but with error and can't figure it.

  • @antoniog2859
    @antoniog2859 ปีที่แล้ว +1

    Thank you. I tried the first part using hashes, and it worked with the the small example data. I was so proud of myself, but then I discovered that with the real input I could wait for years. 😆

    • @cjav_dev
      @cjav_dev  ปีที่แล้ว +1

      I totally thought that approach would work too.

  • @piotrtalarczyk8987
    @piotrtalarczyk8987 ปีที่แล้ว +1

    The 2º puzzle defeated me. In two days I wrote two pieces of code that work perfectly with example, but won't give me the right answer for my input file.

    • @piotrtalarczyk8987
      @piotrtalarczyk8987 ปีที่แล้ว

      Third piece of code is working. I don't know why yesterday's don't want to work, slightly not sure why today's is working. 🤣

  • @lappi_wojak
    @lappi_wojak 11 หลายเดือนก่อน

    I did both parts but part2 is so slow for ruby! It takes 25 hours to complete xD who invented those task is crazy