Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Jonathan-Uy/CSES-Solutions
/ Node
Class
Node
String Algorithms/Distinct Substrings.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, link;
10
map<char,int> nxt;
11
} node[2*maxN];
12
13
char S[maxN];
14
int N, sz, last;
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected