Logo

Programming-Idioms

History of Idiom 17 > diff from v20 to v21

Edit summary for version 21 by programming-idioms.org:
Linked to idiom #128 [Breadth-first traversing of a tree]

Version 20

2016-05-02, 12:04:28

Version 21

2016-05-02, 12:05:01

Idiom #17 Create a Tree data structure

The structure must be recursive. A node may have zero or more children. A node has access to children nodes, but not to its parent.

Idiom #17 Create a Tree data structure

The structure must be recursive. A node may have zero or more children. A node has access to children nodes, but not to its parent.