fix(curriculum): add note for queue (#67036)

Co-authored-by: Huyen Nguyen <25715018+huyenltnguyen@users.noreply.github.com>
This commit is contained in:
Supravisor
2026-04-24 01:23:31 +12:00
committed by GitHub
parent ac3901c983
commit 229e471254
@@ -13,12 +13,14 @@ In this lab, you will implement a queue data structure using functions. A queue
**User Stories:**
1. You should have a `enqueue` function that adds an element to the back of the queue.
1. You should have an `enqueue` function that adds an element to the back of the queue.
1. You should have a `dequeue` function that removes and returns the front element of the queue.
1. You should have a `front` function that returns the front element of the queue without removing it.
1. You should have a `size` function that returns the number of elements in the queue.
1. You should have an `isEmpty` function that returns `true` if the queue is empty and `false` otherwise.
**Note:** Most tests depend on the `enqueue` function. Implement that one first, as tests for `dequeue`, `front`, `size`, and `isEmpty` require adding elements to the queue.
# --hints--
You should have an `enqueue` function.