Commit Graph

78 Commits

Author SHA1 Message Date
shu
fa612e9eb6 Day 7: Shuffle around a bit 2019-12-07 22:45:18 +01:00
shu
a627f553bb Day 7: Refactor for readability 2019-12-07 20:11:38 +01:00
shu
cd0cc41d4f Day 7: Done 2019-12-07 17:27:35 +01:00
shu
1d26a5e2f8 Day 7: Almost there 2019-12-07 16:02:16 +01:00
shu
c25714bb48 Day 7: WIP 2019-12-07 10:06:47 +01:00
shu
50431be565 Day 6: Make it somewhat more readable 2019-12-06 20:28:10 +01:00
shu
d09b565d9c Day 6 2019-12-06 09:58:42 +01:00
shu
799b000b39 Day 5: Cleanup & golf for now, might document later 2019-12-06 01:20:37 +01:00
shu
dd2bf86d1c Day 5 2019-12-06 01:17:28 +01:00
shu
c05e4b4081 Due to popular demand 2019-12-04 22:07:24 +01:00
shu
fd626a2f30 Add version with parsing
I found this highly unnecessary but whatever
2019-12-04 16:18:23 +01:00
shu
6e9b85b894 2019-12-04 11:13:17 +01:00
shu
4892b3fcac Still not completely on board with this 2019-12-04 09:53:34 +01:00
shu
a3d0bcde24 Stole Fichte’s parse idea 2019-12-04 09:30:38 +01:00
shu
137e8c22e9 eh 2019-12-04 08:21:27 +01:00
shu
61958979c6 Why reimplement show 2019-12-04 08:16:15 +01:00
shu
a07b6fba16 Day 4: Initial version
Now to look at other solutions
2019-12-04 08:02:39 +01:00
shu
8cfca9295e delete intersections entirely because we play golf 2019-12-04 00:48:16 +01:00
shu
e64af48b80 Fix solution
6ef036e2c5a actually made the solution incorrect, the list comprehension
for part b relied on V 0 0 being in the list for the element to match
    the step number. The magic oneliner is rad tho so simply adjust the
    list comprehension.
2019-12-04 00:43:18 +01:00
shu
e544fbb877 day 3: elemIndex exists, amaze 2019-12-03 23:27:32 +01:00
shu
6ef036e2c5 day 3: small tweak 2019-12-03 16:10:48 +01:00
shu
0e03545e94 day 3: Improve the solution a bit 2019-12-03 15:50:55 +01:00
shu
3ffa8fac0f day 3: small tweaks 2019-12-03 08:17:42 +01:00
shu
b782929e01 day 3 2019-12-03 07:49:10 +01:00
shu
e0c79b9edd use concatMap 2019-12-02 09:23:25 +01:00
shu
799a12675d day 2 2019-12-02 08:17:43 +01:00
shu
ee975cb56a Use Ints
yay for infix div which I somehow forgot about
2019-12-01 09:37:00 +01:00
shu
4e58ab46eb day1 2019-12-01 09:02:57 +01:00