|
0f48ed35ea
|
rename data to inputBuf (free up data as variable/type name)
|
2024-12-29 08:49:51 +00:00 |
|
|
156c1c13e0
|
fix build src
|
2024-12-28 01:50:52 +00:00 |
|
|
d689cd0a9a
|
remove duplicate parseLines() in templates
|
2024-12-27 22:16:36 +00:00 |
|
|
88f082080d
|
remove scaffold.sh
add scaffold aoc template
|
2024-12-27 22:13:33 +00:00 |
|
|
51fed356af
|
rename kind type/variables
refactor schematic factory function
|
2024-12-27 00:39:46 +00:00 |
|
|
a282338f29
|
remove bounds check for first neighbour.
|
2024-12-26 22:55:23 +00:00 |
|
|
4013cd6c7f
|
clean up function
|
2024-12-26 20:16:54 +00:00 |
|
|
83399a45c2
|
refactor using graph struct and adjacency function
|
2024-12-26 20:09:19 +00:00 |
|
|
dda597a577
|
add day-25 part1
|
2024-12-26 19:00:37 +00:00 |
|
|
942d2a8456
|
whitespace fix
|
2024-12-26 13:45:37 +00:00 |
|
|
169fa86a69
|
reverse terms in {byName}.Less()... easier to read.
|
2024-12-26 13:45:10 +00:00 |
|
|
f430d4ed7b
|
convert straight from bin to dec.
|
2024-12-26 13:27:58 +00:00 |
|
|
24bb0d40c9
|
refactor with filter() and byName()
|
2024-12-26 13:12:48 +00:00 |
|
|
4aaf594e23
|
add filter function to filter zwires from wires
|
2024-12-26 13:12:13 +00:00 |
|
|
d244a9cc35
|
add byName, it implements sort.Sort interface
|
2024-12-26 13:11:44 +00:00 |
|
|
5a6947af2c
|
move enqueue(ns[dir]) into loop
|
2024-12-25 21:01:35 +00:00 |
|
|
33ee076cf1
|
refactor switch-case
|
2024-12-25 15:59:52 +00:00 |
|
|
cdca21b3f3
|
add day-24 part1
|
2024-12-25 14:46:40 +00:00 |
|
|
e97f05ea48
|
add day-21 + benchmarks
|
2024-12-25 14:45:38 +00:00 |
|
|
13a92834a1
|
remove unnecessary assignment
|
2024-12-23 23:17:10 +00:00 |
|
|
1f033ea3a0
|
don't pass wg to next
|
2024-12-23 20:02:00 +00:00 |
|
|
ef120d05d4
|
add day-23 + benchmarks
|
2024-12-23 19:56:13 +00:00 |
|
|
b2e0108fb0
|
upd go.mod go.sum
|
2024-12-23 00:40:41 +00:00 |
|
|
31effc9d8e
|
fix test message
|
2024-12-22 22:00:38 +00:00 |
|
|
4bed4a8563
|
rename sequences to cache
|
2024-12-22 16:57:19 +00:00 |
|
|
287a168293
|
add day-22 + benchmarks
|
2024-12-22 16:54:03 +00:00 |
|
|
5cc9a43723
|
rename emptyBlock vars to emptyHeap
|
2024-12-21 19:48:26 +00:00 |
|
|
3ccdd9fdf6
|
rename function
|
2024-12-20 23:23:53 +00:00 |
|
|
72d329ae57
|
add day-20
|
2024-12-20 20:48:13 +00:00 |
|
|
03ef97051e
|
fix package name
|
2024-12-20 13:35:51 +00:00 |
|
|
22b442171b
|
add point subpackage
build ShortestPath as ordered map
replace dijkstra in part two with a bfs
|
2024-12-19 21:32:21 +00:00 |
|
|
62665d4d10
|
range over numEmptyBlocks
|
2024-12-19 20:35:46 +00:00 |
|
|
abf7abf3ea
|
add {heap}.IsEmpty() and use it to empty the block during write()
|
2024-12-19 20:32:42 +00:00 |
|
|
52541e7ca7
|
run part one with goroutines
re-run benchmarks
|
2024-12-19 19:03:30 +00:00 |
|
|
a4e8e83844
|
move file parsing into util.go
|
2024-12-19 17:58:45 +00:00 |
|
|
f6eeece8d7
|
remove cpmment
|
2024-12-19 13:01:10 +00:00 |
|
|
1b0f02b430
|
reimplement day-09 with min heaps
re-run benchmarks
|
2024-12-19 12:54:40 +00:00 |
|
|
c3fa65e4a8
|
add day-19 + benchmarks
|
2024-12-19 09:39:38 +00:00 |
|
|
f1cac7da7b
|
use already calculated one.LowestCost
|
2024-12-19 02:44:26 +00:00 |
|
|
17f2bc8223
|
add day-16 part2 + benchmarks
|
2024-12-19 01:27:45 +00:00 |
|
|
9d7a9d5791
|
add day-18 + benchmarks
|
2024-12-18 18:48:11 +00:00 |
|
|
6cb3fd1654
|
add day-17 + benchmarks
|
2024-12-18 15:02:35 +00:00 |
|
|
a0a25639cc
|
add day-15 part2 + benchmarks
|
2024-12-18 14:45:27 +00:00 |
|
|
1429ece4f4
|
add day-16 part1
|
2024-12-17 01:58:33 +00:00 |
|
|
090530ce72
|
add day-15 part1
|
2024-12-16 11:56:53 +00:00 |
|
|
415a41788b
|
remove print graph
|
2024-12-14 19:34:28 +00:00 |
|
|
e1322465af
|
typo
|
2024-12-14 19:15:21 +00:00 |
|
|
d441f6a555
|
add day-14 + benchmarks
|
2024-12-14 19:11:58 +00:00 |
|
|
7b17f8edc1
|
and a little more
|
2024-12-13 23:40:43 +00:00 |
|
|
dcf3479d88
|
dry it up a little
|
2024-12-13 23:24:05 +00:00 |
|