NYCPHP Meetup

NYPHP.org

[nycphp-talk] Flattening a Tree

Ajai Khattri ajai at bitblit.net
Mon Feb 23 23:12:43 EST 2009


On Mon, 23 Feb 2009, Tim Lieberman wrote:

> Yup, your standard depth-first tree traversal.

But in order to build a flat array, I'd have to pass that by reference 
into my recursive function so it can append the each node right?



-- 
Aj.




More information about the talk mailing list