Skip to content

Commit 4e1e766

Browse files
authored
Update README.md
1 parent c1ab5eb commit 4e1e766

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

2023/Day24/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ I went looking around in others' solutions until I found a good one that is easy
1616
to follow.
1717

1818
The idea is that we try to guess the speed of our stone (a for loop), then supposing
19-
that it is the right velocity we create a new reference frame that moves with
19+
that it is the right velocity create a new reference frame that moves with
2020
that speed. The stone doesn't move in this frame, it has some fixed coordinates
2121
somewhere. Now transform each particle into this reference frame as well. Since the
2222
stone is not moving, if we properly guessed the speed, we find that each particle
23-
meets the stone's line at the _same_ point. This must be the stone's location.
23+
meets at the _same_ point. This must be the stone's location.
2424

2525
We can reuse code from Part 1, just need to project everything to the XY
2626
plane first to compute the stone's `(x,y)` position, then do the same in the XZ

0 commit comments

Comments
 (0)