Commit Graph

16 Commits

Author SHA1 Message Date
Jonathan Chan 8ebadd2ee2 Day 22: Some refactoring, especially to use math/number-theory. 2019-12-22 11:27:27 -08:00
Jonathan Chan 5d4d9686b8 Day 18: Partial progress. 2019-12-17 23:53:40 -08:00
Jonathan Chan 10c0b5bf28 Refactored IntCode to internally use a hashmap instead of a vector. 2019-12-17 11:26:03 -08:00
Jonathan Chan 9a4afc2dd3 Day 17. 2019-12-16 22:09:34 -08:00
Jonathan Chan 341a4d30f0 Day 16: Part 2. 2019-12-16 14:38:16 -08:00
Jonathan Chan 77f22cfc47 Use specialized not-equals functions (!=, nchar=?) instead of general neq? function. 2019-12-15 22:57:31 -08:00
Jonathan Chan 9d9dc6109a 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
2019-12-15 22:51:20 -08:00
Jonathan Chan c1acc1ba25 Day 14! 2019-12-14 23:53:38 -08:00
Jonathan Chan 154b2f33ed Abstracted message-printing from days 11 and 8; Added fancy symbols for currying, uncurrying, and composition. 2019-12-11 13:54:01 -08:00
Jonathan Chan ec43c29435 Day 10: Part 2. 2019-12-10 13:18:04 -08:00
Jonathan Chan 9f614b8616 Day 10: Part 1. 2019-12-10 00:16:52 -08:00
Jonathan Chan 53da35fdac Modified IntCode interpreter to return a state on input/output/halt. 2019-12-09 13:09:16 -08:00
Jonathan Chan 28a510f3ec Day 9; Cleanup of IntCode interpreter and solutions from past days. 2019-12-08 23:29:20 -08:00
Jonathan Chan 9dddb473a8 Day 7: Part 2 done. 2019-12-07 19:46:28 -08:00
Jonathan Chan 94f41f4d04 Day 5. 2019-12-05 00:39:19 -08:00
Jonathan Chan d86fa6bcdf Day 1. 2019-11-30 21:37:37 -08:00