Community

Depth-First vs Breadth-First Tree Traversal Using A While-Loop In Lucee CFML 5.3.3.62

(Ben Nadel) As part of my post yesterday on how I sometimes replace recursive algorithms with loop-based algorithms in Lucee CFML, I mentioned that the algorithm incidentally shifted from a depth-first strategy to a breadth-first strategy.