From a9ca57f8b634d78dcac013a5aacaa9c7cfc2dd4b Mon Sep 17 00:00:00 2001 From: Louis Sivillo Date: Thu, 6 Jan 2022 15:58:22 +0000 Subject: [PATCH 1/3] Adds readme for assignment 1 --- src/data-structures/queue/assignment-1/README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/data-structures/queue/assignment-1/README.md diff --git a/src/data-structures/queue/assignment-1/README.md b/src/data-structures/queue/assignment-1/README.md new file mode 100644 index 000000000..33f2d650e --- /dev/null +++ b/src/data-structures/queue/assignment-1/README.md @@ -0,0 +1,11 @@ +# Assignment 1 + +## Using the queue + +Your first assignment is to use the Queue class to do the following: + +* Construct the queue +* Add up to 5 items to the queue +* Print the contents of the queue +* Print the first element of the queue +* Print the last element of the queue From 711ab44c3c5f897c8f68c525d9b470c829e5d40d Mon Sep 17 00:00:00 2001 From: Louis Sivillo Date: Thu, 6 Jan 2022 16:06:19 +0000 Subject: [PATCH 2/3] Update README.md --- src/data-structures/queue/assignment-1/README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/data-structures/queue/assignment-1/README.md b/src/data-structures/queue/assignment-1/README.md index 33f2d650e..7af310b05 100644 --- a/src/data-structures/queue/assignment-1/README.md +++ b/src/data-structures/queue/assignment-1/README.md @@ -8,4 +8,7 @@ Your first assignment is to use the Queue class to do the following: * Add up to 5 items to the queue * Print the contents of the queue * Print the first element of the queue -* Print the last element of the queue +* Print the last element of the queue + +**IMPORTANT** +In order to accomplish the final task you may need to modify the Queue class to do this :) From 399f1b93d3b2cb324ddcfb7b4ca5daecbc404109 Mon Sep 17 00:00:00 2001 From: Louis Sivillo Date: Thu, 6 Jan 2022 16:21:15 +0000 Subject: [PATCH 3/3] Update README.md --- src/data-structures/queue/assignment-1/README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/data-structures/queue/assignment-1/README.md b/src/data-structures/queue/assignment-1/README.md index 7af310b05..62b75736b 100644 --- a/src/data-structures/queue/assignment-1/README.md +++ b/src/data-structures/queue/assignment-1/README.md @@ -9,6 +9,7 @@ Your first assignment is to use the Queue class to do the following: * Print the contents of the queue * Print the first element of the queue * Print the last element of the queue +* Print the total number of elements in the queue without modifying the queue itself **IMPORTANT** -In order to accomplish the final task you may need to modify the Queue class to do this :) +In order to accomplish some of the tasks you may need to modify the Queue class :)

AltStyle によって変換されたページ (->オリジナル) /