Uploaded December 2020 | Updated November 2026, 2 days ago
It's that time of year again! I did not have "the obvious insight" that would allow you to go fast -- to just interpret the "seat ID" as bits -- and so I very carefully wrote a binary search and avoided writing an off-by-one, and then, against my good judgement, tested it. This did not allow me to go fast, and as a result, I turned in another mediocre result. But that's life.
Code: github.com/jwise/aoc/blob/master/2020/5.lua and github.com/jwise/aoc/blob/master/2020/5b.lua
0:00 - Introduction
3:11 - Part 1
9:41 - Part 2
11:56 - "The obvious insight"
#AdventofCode
It's that time of year again! I did not have "the obvious insight" that would allow you to go fast -- to just interpret the "seat ID" as bits -- and so I very carefully wrote a binary search and avoided writing an off-by-one, and then, against my good judgement, tested it. This did not allow me to go fast, and as a result, I turned in another mediocre result. But that's life.
Code: github.com/jwise/aoc/blob/master/2020/5.lua and github.com/jwise/aoc/blob/master/2020/5b.lua
0:00 - Introduction
3:11 - Part 1
9:41 - Part 2
11:56 - "The obvious insight"
#AdventofCode










