MCPcopy Create free account
hub / github.com/TheAlgorithms/C-Plus-Plus / postOrderIterative

Method postOrderIterative

others/iterative_tree_traversals.cpp:132–155  ·  view source on GitHub ↗

* @brief postOrderIterative() function that will perform the postorder * traversal iteratively, and return the result array that contain the postorder * traversal of a tree. * @param root head/root node of a tree * @return result that is containing the postorder traversal of a tree */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

test2Function · 0.80
test5Function · 0.80

Calls 6

push_backMethod · 0.80
reverseFunction · 0.50
pushMethod · 0.45
emptyMethod · 0.45
topMethod · 0.45
popMethod · 0.45

Tested by

no test coverage detected