Task 01 Result (Haskell)
❯ time ./solution
91
________________________________________________________
Executed in 11.29 millis fish external
usr time 5.68 millis 179.00 micros 5.50 millis
sys time 0.14 millis 136.00 micros 0.00 millis
Task 02 Result (Haskell)
❯ time ./solution
18857085298
________________________________________________________
Executed in 3.26 secs fish external
usr time 3.25 secs 0.00 micros 3.25 secs
sys time 0.01 secs 379.00 micros 0.01 secs
Much more difficult to visualize in Haskell due to the lack of mutable variables. Did certainly not help that the task was poorly described and had some off-by-one errors in the example text. Ended up having to create a proof in javascript just to figure out the rules of the task before finishing the Haskell implementation.
Task 03 Result (Haskell)
❯ time ./solution
1169
________________________________________________________
Executed in 12.59 millis fish external
usr time 2.55 millis 0.00 micros 2.55 millis
sys time 0.30 millis 299.00 micros 0.00 millis