This website requires JavaScript.
6ef3f4d456
Day 24.
Jonathan Chan
2020-12-23 22:44:16 -0800
91427ebd83
Day 23: Added a C version of the vector version of the Racket solution. It doesn't work.
Jonathan Chan
2020-12-23 17:51:09 -0800
0ae16b5856
Day 23: Complete refactor, with Part 2 complete.
Jonathan Chan
2020-12-23 03:14:41 -0800
d3e84fa8d0
Day 23: Attempt with C, but I don't think it's working...
Jonathan Chan
2020-12-23 01:41:25 -0800
93c42a5696
Day 23: Part 1.
Jonathan Chan
2020-12-22 22:39:54 -0800
b744a6f2d9
Day 22: Minor refactoring.
Jonathan Chan
2020-12-22 18:27:43 -0800
ab0a576334
Day 22: Cleanup
Jonathan Chan
2020-12-21 22:43:07 -0800
515621bbd5
Day 22.
Jonathan Chan
2020-12-21 22:22:38 -0800
72f7cc28ef
Day 21.
Jonathan Chan
2020-12-20 22:47:02 -0800
1da1b714b5
Updated custom library.
Jonathan Chan
2020-12-20 17:57:59 -0800
178c6ab04f
Day 20 minor refactoring.
Jonathan Chan
2020-12-20 17:47:00 -0800
83be0e883b
Day 20, Part 2.
Jonathan Chan
2020-12-20 12:02:02 -0800
023b9d7d73
Day 20, Part 1.
Jonathan Chan
2020-12-19 22:28:05 -0800
2093a7fbda
Day 19.
Jonathan Chan
2020-12-19 00:19:10 -0800
7c4f04b2bb
Day 18.
Jonathan Chan
2020-12-17 21:24:19 -0800
56ff3da7d8
Day 17: Generalized solution with macros.
Jonathan Chan
2020-12-17 13:45:43 -0800
d74563093e
Minor refactoring for Day 17.
Jonathan Chan
2020-12-16 23:18:59 -0800
71bb7a7b98
Day 17.
Jonathan Chan
2020-12-16 22:31:38 -0800
a6fecd88ce
Refactored Day 16 again...
Jonathan Chan
2020-12-16 01:33:54 -0800
6e1c143815
Refactored Day 16 using new lib.rkt additions for string splitting.
Jonathan Chan
2020-12-15 23:52:52 -0800
dac4ca5b33
Day 16.
Jonathan Chan
2020-12-15 23:45:47 -0800
3c27a50bb5
Day 15, but in Typed Racket.
Jonathan Chan
2020-12-15 17:53:32 -0800
9c9511a05b
Refactored Day 15: Using vector instead of hash.
Jonathan Chan
2020-12-14 22:03:26 -0800
4a858eca81
Day 15.
Jonathan Chan
2020-12-14 21:46:39 -0800
2f2945614c
Various refactorings.
Jonathan Chan
2020-12-14 16:49:55 -0800
3e20829bdf
Day 14.
Jonathan Chan
2020-12-13 23:16:59 -0800
41f9a58993
Day 13.
Jonathan Chan
2020-12-12 22:41:31 -0800
637477664a
Refactored Day 12 and added solution using matrices.
Jonathan Chan
2020-12-12 00:52:32 -0800
417a6c7ddd
Day 12.
Jonathan Chan
2020-12-11 22:15:48 -0800
9ea5f8de27
Refactored Day 11 again for code style.
Jonathan Chan
2020-12-11 16:15:45 -0800
7946946bd7
Refactored Day 11 for performance.
Jonathan Chan
2020-12-11 11:02:08 -0800
4dc2dd17d9
Refactored Day 11 minorly.
Jonathan Chan
2020-12-10 23:59:32 -0800
8c74ddea41
Added lists->hash to lib.rkt.
Jonathan Chan
2020-12-10 23:48:39 -0800
1e2c6a0b8b
Day 11: Use sequences instead of lists. Slight speedup, I guess.
Jonathan Chan
2020-12-10 23:22:08 -0800
488e3dc517
Day 11. So slow :(
Jonathan Chan
2020-12-10 22:58:51 -0800
5706b2c671
Refactored Day 9.
Jonathan Chan
2020-12-10 00:42:27 -0800
38209a6ce6
Day 10.
Jonathan Chan
2020-12-10 00:03:11 -0800
1b065d7cce
Day 9.
Jonathan Chan
2020-12-08 21:49:59 -0800
4ce6e3bb0c
Alternate solution for Day 8.
Jonathan Chan
2020-12-08 13:33:12 -0800
d8c6e95046
Refactored Day 8.
Jonathan Chan
2020-12-07 23:29:37 -0800
ff28685df8
Day 8.
Jonathan Chan
2020-12-07 22:29:11 -0800
9307d1c01d
Minor refactoring of Days 1 - 7.
Jonathan Chan
2020-12-07 20:49:06 -0800
452ffe283b
Fix library; use threading in Day 7.
Jonathan Chan
2020-12-07 00:45:50 -0800
46e2daa9af
Refactored Day 7.
Jonathan Chan
2020-12-06 23:28:11 -0800
8db4b43523
Day 7.
Jonathan Chan
2020-12-06 22:14:25 -0800
fcc51e1b9c
Remove unused library functions.
Jonathan Chan
2020-12-05 22:29:48 -0800
9ae585ebed
Day 6; some refactoring to use new problem-input-grouped and $.
Jonathan Chan
2020-12-05 22:00:08 -0800
18f13a4da3
Refactored Day 5.
Jonathan Chan
2020-12-04 22:37:36 -0800
6073a6a75d
Day 5.
Jonathan Chan
2020-12-04 22:20:23 -0800
ee339873c6
Refactored Day 4.
Jonathan Chan
2020-12-04 12:48:29 -0800
8e80a1a618
Day 4.
Jonathan Chan
2020-12-03 22:45:29 -0800
51d5a9006f
Day 3.
Jonathan Chan
2020-12-02 21:34:24 -0800
1830a24fbc
Days 1 and 2.
Jonathan Chan
2020-12-02 19:21:35 -0800
8f9d23d682
Initial commit.
Jonathan Chan
2020-12-02 19:21:24 -0800
50820b435a
Refactoring day 22 and 23.
Jonathan Chan
2019-12-28 23:22:40 -0800
35437aeb6a
Day 18: Part 2 complete.
Jonathan Chan
2019-12-25 21:00:30 -0800
eedf2c6391
Day 18: Refactored for convenience for part 2, which I will do later.
Jonathan Chan
2019-12-25 13:52:41 -0800
86a9bec9d3
Day 25: Minor refactoring.
Jonathan Chan
2019-12-25 00:25:00 -0800
1ce429e5a0
Day 25!
Jonathan Chan
2019-12-24 23:56:50 -0800
f7c7d0e781
Day 24: Finished part 2.
Jonathan Chan
2019-12-24 13:10:07 -0800
50609b0ab9
Day 24: Part 1 done, part 2 is incorrect.
Jonathan Chan
2019-12-24 01:00:53 -0800
6d6e175548
Day 23: refactor.
Jonathan Chan
2019-12-22 23:36:46 -0800
c57e57079c
Day 23.
Jonathan Chan
2019-12-22 23:25:28 -0800
76904fe41a
Day 18: Part 1 finally!!!
Jonathan Chan
2019-12-22 20:59:59 -0800
ab1a1ce9bf
Day 22: Some refactoring, especially to use math/number-theory.
Jonathan Chan
2019-12-22 11:27:27 -0800
e89bbf14b9
Day 22: Part 2 with some cheating.
Jonathan Chan
2019-12-22 02:06:35 -0800
d1c8482e7d
Day 22: Part 1 complete, part 2... still running?
Jonathan Chan
2019-12-22 00:50:36 -0800
e197679510
Updated Haskell implementation and Day 2 solution.
Jonathan Chan
2019-12-21 13:23:55 -0800
5063ff4113
Day 21.
Jonathan Chan
2019-12-21 12:09:17 -0800
60c5b73dba
Added Haskell implementation of an IntCode interpreter.
Jonathan Chan
2019-12-20 14:52:20 -0800
d2f63d2f99
Day 20: Part 2.
Jonathan Chan
2019-12-20 02:05:54 -0800
f5bacc0b54
Day 20: Part 1.
Jonathan Chan
2019-12-19 23:12:07 -0800
30f68e83d3
Day 18: Part 1 second attempt (unsolved).
Jonathan Chan
2019-12-18 23:23:51 -0800
884018acad
Day 19.
Jonathan Chan
2019-12-18 23:23:22 -0800
2c24047346
Day 18: Partial progress.
Jonathan Chan
2019-12-17 23:53:40 -0800
7873fda361
Refactored IntCode to internally use a hashmap instead of a vector.
Jonathan Chan
2019-12-17 11:26:03 -0800
9548612f61
Day 17.
Jonathan Chan
2019-12-16 22:09:34 -0800
29af3fa2b2
Day 16: Part 2.
Jonathan Chan
2019-12-16 14:38:16 -0800
58048e4998
Day 16: Part 1.
Jonathan Chan
2019-12-15 23:31:42 -0800
e3d0c0aee8
Use specialized not-equals functions (!=, nchar=?) instead of general neq? function.
Jonathan Chan
2019-12-15 22:57:31 -0800
abfec61775
Day 15. Also, some code cleanup: - Modified IntCode interpreter to be entirely functional (via functional vector-set!*) and fixed a bug - Removed `zip` since it can be implemented as map - Reimplemented `transpose` more idiomatically - Added functions for creating, converting, displaying grids stored in vector, list, and hashtable forms
Jonathan Chan
2019-12-15 22:46:55 -0800
ce67c75159
Day 14!
Jonathan Chan
2019-12-14 23:53:38 -0800
a3ee2b428a
Day 13.
Jonathan Chan
2019-12-12 22:49:37 -0800
3ce83e7f43
Day 12: Part 2.
Jonathan Chan
2019-12-12 15:57:17 -0800
23d605ab45
Day 3: Cleaned up a bit.
Jonathan Chan
2019-12-12 13:02:35 -0800
301f30268e
Day 12: Part 1, with a Part 2 that is too slow :(
Jonathan Chan
2019-12-11 23:28:53 -0800
bdf1332d62
Abstracted message-printing from days 11 and 8; Added fancy symbols for currying, uncurrying, and composition.
Jonathan Chan
2019-12-11 13:54:01 -0800
871b1f1b10
Day 11.
Jonathan Chan
2019-12-10 23:16:39 -0800
56aacd00fd
Day 10: Use atan2 instead of dividing into different cases.
Jonathan Chan
2019-12-10 14:36:13 -0800
80b25a4095
Day 10: Part 2.
Jonathan Chan
2019-12-10 13:18:04 -0800
fd9e2bade8
Day 10: Part 1.
Jonathan Chan
2019-12-10 00:16:52 -0800
ced4bed40e
Added comments for IntCode interpreter, esp. the code to do with states.
Jonathan Chan
2019-12-09 13:17:33 -0800
a9789ec9ed
Modified IntCode interpreter to return a state on input/output/halt.
Jonathan Chan
2019-12-09 13:09:16 -0800
c0670a74b1
Day 9; Cleanup of IntCode interpreter and solutions from past days.
Jonathan Chan
2019-12-08 23:29:20 -0800
59b628be64
Day 8: Use an actual whitespace character instead of a light-grey box.
Jonathan Chan
2019-12-07 22:26:33 -0800
d88fcf2a60
Day 8: Fix typo.
Jonathan Chan
2019-12-07 22:21:05 -0800
39c4c4a951
Day 8.
Jonathan Chan
2019-12-07 21:53:07 -0800
5e25f9fd27
Day 7: Part 2 done.
Jonathan Chan
2019-12-07 19:46:28 -0800
2d67f04d6b
Day 7: Part 1 complete, part 2 not working.
Jonathan Chan
2019-12-07 00:17:16 -0800
7df8cc0336
Day 6.
Jonathan Chan
2019-12-05 23:28:02 -0800