Jonathan Chan
2f6563b28d
Delete README.md
2024-12-10 08:57:10 -05:00
Jonathan Chan
50820b435a
Refactoring day 22 and 23.
2024-12-10 08:25:34 -05:00
Jonathan Chan
35437aeb6a
Day 18: Part 2 complete.
2024-12-10 08:25:34 -05:00
Jonathan Chan
eedf2c6391
Day 18: Refactored for convenience for part 2, which I will do later.
2024-12-10 08:25:34 -05:00
Jonathan Chan
86a9bec9d3
Day 25: Minor refactoring.
2024-12-10 08:25:34 -05:00
Jonathan Chan
1ce429e5a0
Day 25!
2024-12-10 08:25:34 -05:00
Jonathan Chan
f7c7d0e781
Day 24: Finished part 2.
2024-12-10 08:25:34 -05:00
Jonathan Chan
50609b0ab9
Day 24: Part 1 done, part 2 is incorrect.
2024-12-10 08:25:34 -05:00
Jonathan Chan
6d6e175548
Day 23: refactor.
2024-12-10 08:25:34 -05:00
Jonathan Chan
c57e57079c
Day 23.
2024-12-10 08:25:34 -05:00
Jonathan Chan
76904fe41a
Day 18: Part 1 finally!!!
2024-12-10 08:25:34 -05:00
Jonathan Chan
ab1a1ce9bf
Day 22: Some refactoring, especially to use math/number-theory.
2024-12-10 08:25:34 -05:00
Jonathan Chan
e89bbf14b9
Day 22: Part 2 with some cheating.
2024-12-10 08:25:34 -05:00
Jonathan Chan
d1c8482e7d
Day 22: Part 1 complete, part 2... still running?
2024-12-10 08:25:34 -05:00
Jonathan Chan
e197679510
Updated Haskell implementation and Day 2 solution.
2024-12-10 08:25:34 -05:00
Jonathan Chan
5063ff4113
Day 21.
2024-12-10 08:25:34 -05:00
Jonathan Chan
60c5b73dba
Added Haskell implementation of an IntCode interpreter.
2024-12-10 08:25:34 -05:00
Jonathan Chan
d2f63d2f99
Day 20: Part 2.
2024-12-10 08:25:34 -05:00
Jonathan Chan
f5bacc0b54
Day 20: Part 1.
2024-12-10 08:25:34 -05:00
Jonathan Chan
30f68e83d3
Day 18: Part 1 second attempt (unsolved).
2024-12-10 08:25:34 -05:00
Jonathan Chan
884018acad
Day 19.
2024-12-10 08:25:34 -05:00
Jonathan Chan
2c24047346
Day 18: Partial progress.
2024-12-10 08:25:34 -05:00
Jonathan Chan
7873fda361
Refactored IntCode to internally use a hashmap instead of a vector.
2024-12-10 08:25:34 -05:00
Jonathan Chan
9548612f61
Day 17.
2024-12-10 08:25:34 -05:00
Jonathan Chan
29af3fa2b2
Day 16: Part 2.
2024-12-10 08:25:34 -05:00
Jonathan Chan
58048e4998
Day 16: Part 1.
2024-12-10 08:25:34 -05:00
Jonathan Chan
e3d0c0aee8
Use specialized not-equals functions (!=, nchar=?) instead of general neq? function.
2024-12-10 08:25:34 -05:00
Jonathan Chan
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
2024-12-10 08:25:34 -05:00
Jonathan Chan
ce67c75159
Day 14!
2024-12-10 08:25:34 -05:00
Jonathan Chan
a3ee2b428a
Day 13.
2024-12-10 08:25:34 -05:00
Jonathan Chan
3ce83e7f43
Day 12: Part 2.
2024-12-10 08:25:34 -05:00
Jonathan Chan
23d605ab45
Day 3: Cleaned up a bit.
2024-12-10 08:25:34 -05:00
Jonathan Chan
301f30268e
Day 12: Part 1, with a Part 2 that is too slow :(
2024-12-10 08:25:34 -05:00
Jonathan Chan
bdf1332d62
Abstracted message-printing from days 11 and 8; Added fancy symbols for currying, uncurrying, and composition.
2024-12-10 08:25:34 -05:00
Jonathan Chan
871b1f1b10
Day 11.
2024-12-10 08:25:34 -05:00
Jonathan Chan
56aacd00fd
Day 10: Use atan2 instead of dividing into different cases.
2024-12-10 08:25:34 -05:00
Jonathan Chan
80b25a4095
Day 10: Part 2.
2024-12-10 08:25:34 -05:00
Jonathan Chan
fd9e2bade8
Day 10: Part 1.
2024-12-10 08:25:34 -05:00
Jonathan Chan
ced4bed40e
Added comments for IntCode interpreter, esp. the code to do with states.
2024-12-10 08:25:34 -05:00
Jonathan Chan
a9789ec9ed
Modified IntCode interpreter to return a state on input/output/halt.
2024-12-10 08:25:34 -05:00
Jonathan Chan
c0670a74b1
Day 9; Cleanup of IntCode interpreter and solutions from past days.
2024-12-10 08:25:34 -05:00
Jonathan Chan
59b628be64
Day 8: Use an actual whitespace character instead of a light-grey box.
2024-12-10 08:25:34 -05:00
Jonathan Chan
d88fcf2a60
Day 8: Fix typo.
2024-12-10 08:25:34 -05:00
Jonathan Chan
39c4c4a951
Day 8.
2024-12-10 08:25:34 -05:00
Jonathan Chan
5e25f9fd27
Day 7: Part 2 done.
2024-12-10 08:25:34 -05:00
Jonathan Chan
2d67f04d6b
Day 7: Part 1 complete, part 2 not working.
2024-12-10 08:25:34 -05:00
Jonathan Chan
7df8cc0336
Day 6.
2024-12-10 08:25:34 -05:00
Jonathan Chan
d762ed6cb5
Day 5: Some cleanup.
2024-12-10 08:25:34 -05:00
Jonathan Chan
ee4ca7279d
Day 5.
2024-12-10 08:25:34 -05:00
Jonathan Chan
6ad4c77ce1
Day 4.
2024-12-10 08:25:34 -05:00