Commit Graph

40 Commits

Author SHA1 Message Date
Jonathan Chan 6a26332994 Day 14 - condensed some stuff, it's fine 2017-12-14 15:06:36 -08:00
Jonathan Chan ade0446c62 Day 14, both parts done 2017-12-14 10:32:13 -08:00
Jonathan Chan ac2c786b6c Day 14, part 2 - partial progress 2017-12-13 23:30:42 -08:00
Jonathan Chan 3ca34256b1 Day 14, part 1 2017-12-13 23:10:07 -08:00
Jonathan Chan c2c01450c9 Day 13 2017-12-12 22:59:14 -08:00
Jonathan Chan 492ccb0a5d Day 12 - use array constructor instead of graphFromEdges, which needs and produces some extra stuff. 2017-12-12 15:30:16 -08:00
Jonathan Chan dd002c175c Day 12 - is it cheating if I use built-in graph functions? owo 2017-12-12 10:32:51 -08:00
Jonathan Chan 2b02bd4863 Prepended single-digit files with 0s for nice ordering. 2017-12-12 09:29:13 -08:00
Jonathan Chan 98782c2506 Removed alternate solution for day 2; minor adjustments to day 5 alternate solution (Vector still slower than IntMap...) 2017-12-12 09:29:11 -08:00
Jonathan Chan ad9d3674f3 Minor refactorings of days 3, 4, 5, 6, 7, 9, 11, and removed alternate solution (i.e. the original one) for 9. 2017-12-12 09:29:10 -08:00
Jonathan Chan 46ca9a3347 Day 12 - minor refactoring 2017-12-12 09:29:10 -08:00
Jonathan Chan a90a59c846 Day 12, plus some edits to days 1 and 2 2017-12-12 09:29:10 -08:00
Jonathan Chan 1078b40201 Day 8 - Used scanl, made things more concise 2017-12-12 09:29:08 -08:00
Jonathan Chan a5e12ca387 Day 11 2017-12-12 09:29:07 -08:00
Jonathan Chan a44830ae8d Day 10 - condensed a lot of functions and used normal lists instead of Seq 2017-12-12 09:29:07 -08:00
Jonathan Chan a96ab19024 Day 10 2017-12-12 09:29:07 -08:00
Jonathan Chan 732092abe3 Day 9 - alternate solution using only one foldl pass 2017-12-12 09:29:07 -08:00
Jonathan Chan 512d3d1e8d Day 9 - placed 917 and 905 on the leaderboardgit add . 2017-12-12 09:29:07 -08:00
Jonathan Chan 8097d2578d Day 5 - alternate solution using unboxed vectors, but unfortunately they're not any faster 2017-12-12 09:29:05 -08:00
Jonathan Chan d3506becf4 Day 8 - turns out getOrSetZero is redundant 2017-12-12 09:29:03 -08:00
Jonathan Chan 218b09f2e9 Day 8, part 2 2017-12-12 09:29:02 -08:00
Jonathan Chan 8aa2be284b Day 8, part 1 2017-12-12 09:29:02 -08:00
Jonathan Chan 02817b9cf2 Day 7 - refactored for clarity 2017-12-12 09:29:00 -08:00
Jonathan Chan 5d727c1817 Day 7, part 2 - finished, not very pretty but gets it done 2017-12-12 09:28:58 -08:00
Jonathan Chan 6410560315 Day 7, part 2 - partial progress: made a tree, I guess? 2017-12-12 09:28:56 -08:00
Jonathan Chan 91d0fb46bc Day 7, part 1 - minor adjustments 2017-12-12 09:28:56 -08:00
Jonathan Chan a58f59b31f Day 7, part 1 2017-12-12 09:28:56 -08:00
Jonathan Chan e910558507 Day 5 - replaced Seq Int with IntMap Int for slight performance improvement... 2017-12-12 09:28:56 -08:00
Jonathan Chan f395778a9f Day 5 (takes 40 seconds... too long??) 2017-12-12 09:28:56 -08:00
Jonathan Chan 40c2d06a8c Day 6 - imported only needed functions so that I don't have to Data.* everywhere 2017-12-12 09:28:55 -08:00
Jonathan Chan cf61ef2a44 Refactored Day 6 for clarity. 2017-12-12 09:28:52 -08:00
Jonathan Chan 2b209648d5 Day 6, updated for part 2 2017-12-12 09:28:47 -08:00
Jonathan Chan 9052fd9db6 Day 6, part 1 2017-12-12 09:28:43 -08:00
Jonathan Chan 507a271dab Create README.md 2017-12-12 09:28:40 -08:00
Jonathan Chan 4b86784e32 Day 4 2017-12-12 09:28:32 -08:00
Jonathan Chan 845fabfc25 Day 3 finally done! 2017-12-03 23:48:57 -08:00
Jonathan Chan 45e4e78ab3 Day 3: getDownstairs is incorrect, but the rest should be correct... 2017-12-03 22:32:21 -08:00
Jonathan Chan f374478dd2 Added alternate solution to Day 2-2 that doesn't use applicative. 2017-12-02 11:11:28 -08:00
Jonathan Chan f2dd458149 Day 2, on time! 2017-12-02 10:43:59 -08:00
Jonathan Chan 412d637866 Day 1, done! (Late oops) 2017-12-02 09:41:43 -08:00