We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ee9a126 commit ca01033Copy full SHA for ca01033
notebooks/y2024/d20.clj
@@ -190,8 +190,8 @@ dir-vectors
190
; spart om vi jukset.
191
192
(defn shortcuts-new
193
- "For each possible location, can it reach a location two steps
194
- away with an impossible location in-between?"
+ "For each possible location, can it reach a location x steps
+ and save the required amount of time?"
195
[cheat-length required-amount-saved node->cost]
196
(let [nodes (mapv key (sort-by val node->cost))]
197
(->> (for [index (range (count nodes))
0 commit comments