Skip to content

Commit fbbbfee

Browse files
Fixed spelling mistake in suffix-automaton.md
1 parent efecea8 commit fbbbfee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/string/suffix-automaton.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ Let us describe this process:
221221
(Initially we set $last = 0$, and we will change $last$ in the last step of the algorithm accordingly.)
222222
- Create a new state $cur$, and assign it with $len(cur) = len(last) + 1$.
223223
The value $link(cur)$ is not known at the time.
224-
- Now we to the following procedure:
224+
- Now we do the following procedure:
225225
We start at the state $last$.
226226
While there isn't a transition through the letter $c$, we will add a transition to the state $cur$, and follow the suffix link.
227227
If at some point there already exists a transition through the letter $c$, then we will stop and denote this state with $p$.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy