Solving day 14 of Advent of Code 2021 in JavaScript

preview_player
Показать описание
Advent of Code is a website that releases a new programming puzzle every day between the 1st and the 25th of December.

0:00 Part 1
32:57 Part 2

Have fun!

Рекомендации по теме
Комментарии
Автор

Well done "thinking" first.

The time of my part 1 / part 2 split looks opposite from yours. Haha.

queuebit
Автор

Haha! I did the classic mistake - used string math with splicing for part 1 and had an “uh-oh” when part 2 started. So it took me a little longer with a complete re-think. ;-)

bikefixe