Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Jonathan-Uy/CSES-Solutions
/ init
Function
init
String Algorithms/Substring Order II.cpp:18–23 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
16
ll K;
17
18
void init(){
19
node[0].len = 0;
20
node[0].link = -1;
21
sz = 1;
22
last = 0;
23
}
24
25
void extend(char c){
26
int cur = sz++;
Callers
1
main
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected