Advent of Code 2024 - Day 3 - Mull It Over

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

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

  • @fedox7017
    @fedox7017 28 дней назад +1

    Excelent video! I didn't know that groups can be used as "if else " condition in this way, my solution keep track of do and dont indexes with 2 extra arrays and parse all mul in between a do and dont.
    This solution is very more clear and straight. Thnak you!

  • @lucasrocha9204
    @lucasrocha9204 Месяц назад +2

    First day that i had to search help, specifically in part 2! thanks for share!

  • @23mateush
    @23mateush Месяц назад +1

    Love your solutions, as a first-time AOC participant i'd like to see just some more explaining of your thinking proces. Much love

  • @ericmclean4291
    @ericmclean4291 Месяц назад

    I had some issues with part2 until i realized the input was formatted incorrectly.It is meant to be as one line but the input had line breaks.

  • @wardwielockx
    @wardwielockx Месяц назад

    Hi! Love your solutions, wondering why the for loop was necessary for the result. Were some matches overlooked? Because I loaded the input in as one big string, so no different lines to check, just one big line, right? But I came across the same issue as you first did.

    • @DanielPersson
      @DanielPersson  Месяц назад

      Hi.
      Thank you for watching my videos. There are always multiple ways of accomplishing the same thing. And I love that everyone thinks a little bit differently about these problems. In my brain the loop was required but I might have missed something :)
      Best regards
      Daniel