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 |
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 |