Algorithms_in_C++  1.0.0
Set of algorithms implemented in C++.
lca Struct Reference
Collaboration diagram for lca:
[legend]

Public Member Functions

 lca (int n_)
 
void verify ()
 
void build ()
 
void dfs (int node, int par)
 
int query (int u, int v)
 

Public Attributes

int n
 
vector< int > adj [N]
 
int up [LG][N]
 
int level [N]
 

The documentation for this struct was generated from the following file: