Declaration of the Node class.
Represents a node within a binary search tree.
Stack()
Constructs an empty Stack.
~Stack()
Destroys the Stack.
Node * pop()
Removes and returns the node at the top of the stack.
bool isEmpty() const
Checks whether the stack is empty.
void push(Node *n)
Pushes a node onto the stack.
Internal node type used by the Stack class.
StackNode(Node *data)
Constructs a StackNode with the specified node pointer.