Advent of Code 2023 - Day 8

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

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

  • @careyian
    @careyian  ปีที่แล้ว +3

    This was a fun one, one kind of pattern needed to be identified and then a mental leap to solve in the end, nice puzzle! Not too hard, but a fun one none the less

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

      It didn't occur to me that I had to use "trick".
      but after seeing brute force not working out, I figured it out

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

      Yeah, it wasn’t obvious to me immediately that the brute force would take so long. Once I started to run it I figured there must be a better way!

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

    Spooky 👻

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

      Gotta watch out for them desert ghosts!!

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

    Its not quite a binary tree its a directional graph where each node has exactly two children. But i think the amount of incomming edges can be different for each node. (Rings can exist)

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

      Ahhh yes, you are 100% correct of course! I was only thinking about the left right nature, but of course it’s actually just a directed graph