Skip to content

Commit ca01033

Browse files
committed
funksjonsdesc
1 parent ee9a126 commit ca01033

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

notebooks/y2024/d20.clj

+2-2
Original file line numberDiff line numberDiff line change
@@ -190,8 +190,8 @@ dir-vectors
190190
; spart om vi jukset.
191191

192192
(defn shortcuts-new
193-
"For each possible location, can it reach a location two steps
194-
away with an impossible location in-between?"
193+
"For each possible location, can it reach a location x steps
194+
and save the required amount of time?"
195195
[cheat-length required-amount-saved node->cost]
196196
(let [nodes (mapv key (sort-by val node->cost))]
197197
(->> (for [index (range (count nodes))

0 commit comments

Comments
 (0)