Historian Hysteria [Day 1 - Advent of Code 2024 - Python]

Поділитися
Вставка
  • Опубліковано 30 січ 2025

КОМЕНТАРІ • 9

  • @aali-junior
    @aali-junior 2 дні тому

    Thank u so much sir

  • @nickreffner4574
    @nickreffner4574 Місяць тому

    As a new programmer, you had me in the first half. In part 2, the refactoring onward is hard for me to comprehend completely. Nevertheless, thank you for taking the time to make this playlist for people like me looking for better solutions after solving or getting stuck

  • @ihavelowiq2723
    @ihavelowiq2723 2 місяці тому +1

    nuub me didn't know we can do it in one line like that. will follow every video to learn new things and and re think about my cyber career choice :)

    • @juanmacias5922
      @juanmacias5922 2 місяці тому

      Python one liners can get ridiculous lol

    • @0xdf
      @0xdf  2 місяці тому +1

      No worries! If it works, it works!

  • @Marco_Ris
    @Marco_Ris Місяць тому

    easy peasy. you just have to be a python crack xD

  • @juanmacias5922
    @juanmacias5922 2 місяці тому

    I'm surprised you didn't use a Counter, but I guess with 1000 possibilities doing linear checks isn't too costly.

    • @0xdf
      @0xdf  2 місяці тому +1

      yeah, i realized that just after i finished, and thought about going back and recording something to put on the end, but decided not to. probably a better solution.

    • @juanmacias5922
      @juanmacias5922 2 місяці тому

      @@0xdf hey, if it gets you a star who's to say what's a good or bad solution. :D it can just get ridiculous on the later days with the huge inputs haha