Advent of Code 2024

TBH the most time-consuming part of updating my code to use Int instead of String was finding a pow(base: Int, exp: Int) function. I understand why Swift doesn't have one but it'd have been useful for this, since I knew the result fit in a Int.

Other than that I was somewhat surprised by how painless it was.

1 Like