Skip Navigation
Jump
👣 - 2023 DAY 23 SOLUTIONS -👣
  • Rust Solution

    For Part One I used a depth-first search which took too long for part two. Part Two I created an adjacency list of the junction points while keeping track of the distance to the adjacent nodes at the same time. Then depth-first search through the adjacency list.

    1
  • Jump
    ⏳ - 2023 DAY 22 SOLUTIONS -⏳
  • Rust Solution

    For Part One I used a depth-first search which took too long for part two. Part Two I created an adjacency list of the junction points while keeping track of the distance to the adjacent nodes at the same time. Then depth-first search through the adjacency list.

    1
  • Jump
    ❄️ - 2023 DAY 10 SOLUTIONS -❄️
  • Rust Solution

    Used Shoelace Algorithm to get the interior area and then Pick's Theorem to get the number of interior points based on the area and the points along the boundary loop.

    5