This commit is contained in:
Jidong Xiao
2023-11-17 00:30:23 -05:00

View File

@@ -1,8 +1,6 @@
# Lab 12 — Stacks and Queues # Lab 12 — Stacks and Queues
In this lab, you will implement queues in different ways, and then fix memory leaks in the provided program. Start by downloading the provided program [levelOrder.cpp](levelOrder.cpp), and then turn off all network connections. In this lab, you will implement queues in different ways, and then fix memory leaks in the provided program. Start by downloading the provided program [levelOrder.cpp](levelOrder.cpp). The provided program [levelOrder.cpp](levelOrder.cpp) traverses a binary tree by level order. It prints the following message to STDOUT:
The provided program [levelOrder.cpp](levelOrder.cpp) traverses a binary tree by level order. It prints the following message to STDOUT:
```console ```console
Level Order Traversal: 1 2 3 4 5 6 7 Level Order Traversal: 1 2 3 4 5 6 7