Name

bitree_is_eob

Synopsis

int bitree_is_eob(const BiTreeNode *node);

Return Value

1 if the node marks the end of a branch, or otherwise.

Description

Macro that determines whether the node specified as node marks the end of a branch in a binary 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.