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

Method sz

code/data-structures/avl_tree.cpp:11–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9 avl_tree() : root(NULL) { }
10 node *root;
11 inline int sz(node *n) const { return n ? n->size : 0; }
12 inline int height(node *n) const {
13 return n ? n->height : -1; }
14 inline bool left_heavy(node *n) const {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected