Hacktoberfestadd codenew algorithm
Metriche repository
- Star
- (13.462 star)
- Metriche merge PR
- (Nessuna PR mergiata in 30 g)
Descrizione
In this the right ptr of leaf node points to it's inorder predecessor and the rightmost leaf of the right sub-tree from the root will have both left and right ptrs as NULL Thus this eliminates the overhead of building a stack, since traversal can be done via loop, instead of recursion.