Skip Navigation
Advent of Code @lemmy.world mykl @lemmy.world

Nadvent of Code - 2022 Day 12

dartpad.dev DartPad

An online Dart editor with support for console, web, and Flutter apps.

As a warmup for this year's Advent of Code, I'm re-reading and posting my solutions to last year's challenges. You can read, run and edit today's solution by following the post link.

Continuing the ramp up in difficulty, today's challenge asked us to do some literal (virtual) hill-climbing, but with the added constraint of not allowing too large a step. I was able to re-use an existing Graph class I had built along with an implementation of Dijkstra search.

0
0 comments