Tags: Deruago/DeamerAlgorithm
Tags
Update DFS heap algorithm (parent + subnodes) The algorithm crashed when giving some subtrees with valid root parent. By checking if the root is the parent result of the starting node, we solve this issue. As we make the exiting call, the parent address, which by default is nullptr, unless some subtree was given.