Name

bistree_size

Synopsis

int bistree_size(const BisTree *tree);

Return Value

Number of nodes in the tree.

Description

Macro that evaluates to the number of nodes in the binary search tree specified by tree.

Complexity

O (1)

Get Mastering Algorithms with C now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.