Solution using dynamic programming (prefix sums): advent-of-code-2023/lib/advent_of_code/day_11.ex at main 路 ibarakaiev/advent-of-code-2023 路 GitHub. There are some possible optimizations like recording coordinates at the same time as the vertical prefix sum, but it would take away from readability ![]()


















