Skip to content

Commit c098d82

Browse files
Oleksandr Kulkovadamant-pwn
authored andcommitted
Update suffix-automaton.md
1 parent 6b59f75 commit c098d82

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
@@ -596,7 +596,7 @@ $$cnt[link(v)] \text{ += } cnt[v]$$
596596
This gives the correct value for each state.
597597

598598
Why is this correct?
599-
The total states obtained not via cloning are exactly $length(T)$, and the first $i$ of them appeared when we added the first $i$ characters.
599+
The total number of states obtained _not_ via cloning is exactly $length(T)$, and the first $i$ of them appeared when we added the first $i$ characters.
600600
Consequently for each of these states we count the corresponding position at which it was processed.
601601
Therefore initially we have $cnt = 1$ for each such state, and $cnt = 0$ for all other.
602602

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