1
0
Fork 0
Commit Graph

69 Commits

Author SHA1 Message Date
Jonathan Chan b7e9013d09 Day 22 - minor refactoring 2017-12-22 13:06:37 -08:00
Jonathan Chan 22aad7dd66 Day 22 2017-12-22 00:37:21 -08:00
Jonathan Chan ed514f1519 Day 21 - refactoring for clarity and conciseness 2017-12-21 13:58:44 -08:00
Jonathan Chan 3d8c035561 Day 21 - will clean up code later 2017-12-21 10:35:03 -08:00
Jonathan Chan ddd8e7537d Day 20 - replaced custom Property data type with Vector.V3 to avoid having to define vector addition and scalar multiplication myself 2017-12-20 11:45:12 -08:00
Jonathan Chan c3c22a5f8f Minor refactoring - replaced all fmaps with <$> (idk why I kept using fmaps in the first place) 2017-12-19 23:40:38 -08:00
Jonathan Chan 309920939a Day 20 2017-12-19 23:13:41 -08:00
Jonathan Chan 828efdd7a8 Update README.md 2017-12-18 23:46:02 -08:00
Jonathan Chan 14fb48f3a1 Day 19 2017-12-18 23:45:10 -08:00
Jonathan Chan 87c7cf68c8 Day 18, part 1 - minor refactoring 2017-12-18 22:01:29 -08:00
Jonathan Chan c13fd64788 Day 18, part 2 - now with record syntax! 2017-12-18 21:58:37 -08:00
Jonathan Chan 022008fdd1 Day 18 2017-12-18 13:38:37 -08:00
Jonathan Chan e9a03399c6 Day 18 - beginnings of a solution, but it's late and I need to sleep 2017-12-18 02:02:47 -08:00
Jonathan Chan 1a515e1254 Day 14 - minor refactoring 2017-12-18 02:02:47 -08:00
Jonathan Chan a0cd4a375d Update README.md 2017-12-17 16:20:53 -08:00
Jonathan Chan 0a29e1e0b6 Fixed input imports due to 0 prefix for days 01 to 09. 2017-12-17 16:11:13 -08:00
Jonathan Chan 0ce9ae7665 Day 5 - added some strict evaluation for performance 2017-12-17 16:10:39 -08:00
Jonathan Chan 065421a742 Update README.md 2017-12-17 15:31:53 -08:00
Jonathan Chan ec07598f61 Day 17 - sped up to ~6s using strict recursion! 2017-12-17 15:13:38 -08:00
Jonathan Chan c585f7d7ba Day 16 - finally! 2017-12-17 11:55:59 -08:00
Jonathan Chan 45d8cfc46e Day 17 - it's a lot faster in Javascript... 2017-12-16 23:44:08 -08:00
Jonathan Chan e46dd27349 Day 16 - part 2 still slow... 2017-12-16 22:30:06 -08:00
Jonathan Chan 5969de9996 Day 15 - removed old solution in favour of faster strict solution 2017-12-16 11:14:01 -08:00
Jonathan Chan 871855ff85 Day 12 - removed old solution in favour of graph-based solution 2017-12-16 11:12:40 -08:00
Jonathan Chan 3921c021d2 Day 16 - how to do part 2 without taking 3 years �� 2017-12-16 11:09:58 -08:00
Jonathan Chan 23c6504372 Day 15 - minor changes in style 2017-12-15 09:33:25 -08:00
Jonathan Chan b12aa2915a Day 15 - refactored strict version with some fancy ~~custom operators~~ 2017-12-15 09:28:02 -08:00
Jonathan Chan 906eb9106b Day 15 - strict recursive alternate solution that takes < 1 min 2017-12-15 00:43:08 -08:00
Jonathan Chan d378e3e50e Day 15 - takes 2+ minutes to run and froze my computer twice but it works I guess... 2017-12-14 23:49:03 -08:00
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