summaryrefslogtreecommitdiff
path: root/2024/go/src/day9
diff options
context:
space:
mode:
Diffstat (limited to '2024/go/src/day9')
-rw-r--r--2024/go/src/day9/main.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/2024/go/src/day9/main.go b/2024/go/src/day9/main.go
index 83351b4..0a9b51b 100644
--- a/2024/go/src/day9/main.go
+++ b/2024/go/src/day9/main.go
@@ -95,9 +95,6 @@ type FileBlock struct {
space int
}
-// i = 1 j=12
-// [{0 2} {-1 3} {-1,1} {1 3} {-1 3} {2 1} {-1 3} {3 3} {-1 1} {4 2} {-1 1} {5 4} {-1 1} {6 4} {-1 1} {7 3} {-1 1} {8 4} {9 2}]
-
func moveBlocksPartTwo(fileBlocks []FileBlock) []string {
for i := 0; i < len(fileBlocks); i++ {
if fileBlocks[i].id != -1 {