Good programming practices

array

Generating tree from two-dimensional array

February 24th, 2011

Suppose we have an arrays, which contain hierarchically ordered elements. It should be easier to operate if it would be a tree.
In other words, we want to transform a matrix, for example: More…