Non-Recursive Post Order Depth First Traversal in C#

I was looking around for a non-recursive post-order traversal algorithm and it turned out to be more complex than I thought which surprised me.  I mean a recursive post order depth first traversal is so simple. static void recursivePostOrder(Node node) { foreach (var n in node.Children) { recursivePostOrder(n); } // Do action Console.WriteLine(node.Id); } And…

0