calls a function on every node
loop is terminated as soon as false is returned from function No recursion is used, as it uses a stack to store which nodes it has to call a function on
See Implementation
calls a function on every node
loop is terminated as soon as false is returned from function No recursion is used, as it uses a stack to store which nodes it has to call a function on