Skip to content

Commit b75cacf

Browse files
djeadaCopilot
andauthored
Update notes/greedy_algorithms.md
Co-authored-by: Copilot <[email protected]>
1 parent e6ade7b commit b75cacf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

notes/greedy_algorithms.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ That third rule prevents dead ends and is exactly what exchange arguments rely o
3636

3737
### Reachability on a line
3838

39-
- You stand at square $0$ on squares $0,1,dots,n-1$.
39+
- You stand at square $0$ on squares $0,1,\ldots,n-1$.
4040
- Each square $i$ has a jump power $a\[i]$. From $i$ you may land on any of $i+1, i+2, \dots, i+a\[i]$.
4141
- Goal: decide if you can reach $n-1$; if not, report the furthest reachable square.
4242

0 commit comments

Comments
 (0)