mirror of
https://github.com/youngyangyang04/leetcode-master.git
synced 2026-02-03 02:43:26 +08:00
Update 0459.重复的子字符串.md
This commit is contained in:
@@ -618,6 +618,7 @@ impl Solution {
|
||||
>前缀表统一减一
|
||||
|
||||
```rust
|
||||
impl Solution {
|
||||
pub fn get_next(next_len: usize, s: &Vec<char>) -> Vec<i32> {
|
||||
let mut next = vec![-1; next_len];
|
||||
let mut j = -1;
|
||||
@@ -642,6 +643,7 @@ impl Solution {
|
||||
}
|
||||
false
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user