You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In various traversal methods of binary trees, under the 'ITERATIVE' mode, sometimes a stack is used and other times a queue, which may lead to potential inconsistencies in the order compared to the 'RECURSIVE' mode.
#102
Open
zrwusa opened this issue
Oct 20, 2024
· 0 comments
Describe the bug
In various traversal methods of binary trees, under the 'ITERATIVE' mode, sometimes a stack is used and other times a queue, which may lead to potential inconsistencies in the order compared to the 'RECURSIVE' mode.
For example: the leaves method.
The text was updated successfully, but these errors were encountered:
Describe the bug
In various traversal methods of binary trees, under the 'ITERATIVE' mode, sometimes a stack is used and other times a queue, which may lead to potential inconsistencies in the order compared to the 'RECURSIVE' mode.
For example: the leaves method.
The text was updated successfully, but these errors were encountered: