Remove unneeded insert

This commit is contained in:
Adam Millerchip 2020-12-26 02:37:33 +09:00
parent c9e6f4bf97
commit d67da418b7

View file

@ -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