1/11 Test Cases Passed
You need to earn 2 or 3 stars in order to submit.
1/11 Test Cases Passed
You need atleast 2 stars to grade your answer.
Test Cases (0/11)
-
queue.print() to log Michael Joseph Sarah
-
queue.print() to log Joseph Sarah
-
queue.print() to log Sarah
-
queue.size() to return 0
-
queue.front() to return Michael
-
queue.isEmpty() to return false
-
queue.contains("Mike") to return false
-
queue.contains("Sarah") to return true
-
queue.size() to return 3
-
queue.size() to return 2
-
queue.dequeue() to return Michael
queue.dequeue();
queue.dequeue(); queue.dequeue();
queue.dequeue(); queue.dequeue(); queue.dequeue();
queue.dequeue();