nothe

She's a Nerd!

  • she/her

Knitter, sewist, Seattle Soccer Fan, occasional tech stuff, whatever else tickles my fancy. Cilantro is fine, but pickles are a waste of a perfectly good cucumber.
@nothe@notacult.social


this problem was a rollercoaster of dumb edge cases. My solution performed juuuust badly enough (~ 3mins), that when pt 2 didn't finish, I didn't think anything of it, and was WAY more patient than I should have been about a long-running process. (more after the break)


Stupid ways Rey fucked up this pathfinding algorithm:

  1. forgot to restrict the char from leaving the valley completely to the north, rather than going in
  2. forgot to restrict the char from walking through/along the walls.
  3. forgot to restrict the char from leaving the valley from the south, instead of going back in for the bunny-loving snacks!

RUDE.

..but completed.

(https://github.com/nothes/AdventOfCode/blob/main/AoC/AoC/Day%2024/day24.swift)


You must log in to comment.