diff --git a/day23/day23part2.exs b/day23/day23part2.exs index 4582acc..8e52447 100644 --- a/day23/day23part2.exs +++ b/day23/day23part2.exs @@ -66,7 +66,6 @@ defmodule Day23Part2 do [{^next, {^dest, last}}] = :ets.lookup(cups, next) :ets.insert(cups, {dest, {prev, a}}) :ets.insert(cups, {a, {dest, b}}) - :ets.insert(cups, {b, {a, c}}) :ets.insert(cups, {c, {b, next}}) :ets.insert(cups, {next, {c, last}}) cups