Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Jonathan-Uy/CSES-Solutions
/ Node
Class
Node
String Algorithms/Substring Order II.cpp:7–11 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
5
const int maxN = 1e5+5;
6
7
struct Node {
8
ll dp;
9
int len, cnt, link;
10
map<char,int> nxt;
11
} node[2*maxN];
12
13
vector<char> ans;
14
char S[maxN];
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected