Range overlap and intersection - Day 05 - Advent of Code

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

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

  • @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