|
Binary Search Tree (C++)
|
Declaration of the Queue class. More...
#include "Node.h"Go to the source code of this file.
Classes | |
| struct | QueueNode |
| Internal node type used by the Queue class. More... | |
| class | Queue |
| Represents an explicit queue used to support non-recursive tree operations. More... | |
Declaration of the Queue class.
This header declares the Queue class, which is used as an explicit queue to support non-recursive operations within a binary search tree. Specifically, it is utilized by the levelOrder() traversal method.
Its purpose is to assist in tree traversal by visiting the nodes level-by-level, starting from the root.
Implementation details are defined in Queue.cpp.
Definition in file Queue.h.