Logo

Programming-Idioms

History of Idiom 17 > diff from v18 to v19

Edit summary for version 19 by :
his parent -> its parent (of the node)

Version 18

2016-02-20, 17:39:11

Version 19

2016-02-21, 00:15:55

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 his 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.