MCPcopy Create free account
hub / github.com/SuprDewd/CompetitiveProgramming / seq

Method seq

code/graph/tarjan_olca.test.cpp:113–120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111 }
112
113 void seq(vi *c, int r) {
114 start[label[r]] = size(s);
115 s.push_back(label[r]);
116 for (int i = 0; i < size(c[r]); i++) {
117 seq(c, c[r][i]);
118 s.push_back(label[r]);
119 }
120 }
121
122 int lca(int a, int b) {
123 a = label[a];

Callers

nothing calls this directly

Calls 1

push_backMethod · 0.80

Tested by

no test coverage detected