my solutions to advent of code
aoc advent-of-code

neater maybe

aylac.top 0e985334 fb83ec26

verified
Changed files
+3 -1
2025
3
gleam
+3 -1
2025/3/gleam/src/main.gleam
···
let max =
bank_find
|> list.max(int.compare)
-
|> result.unwrap(list.last(bank) |> result.unwrap(0))
+
|> result.unwrap(
+
bank |> list.reverse |> list.first |> result.unwrap(0),
+
)
let max_loc =
bank