Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Jonathan-Uy/CSES-Solutions
/ init
Function
init
String Algorithms/Substring Distribution.cpp:46–51 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
44
}
45
46
void init(){
47
node[0].len = 0;
48
node[0].link = -1;
49
sz = 1;
50
last = 0;
51
}
52
53
void bfs(int s = 0){
54
queue<int> Q;
Callers
1
main
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected