Great work! Now that we have a basic structure of our Queue, let’s test its abilities! To be able to retrieve the head, or tail, or see the output from any of the functions we’ve built, we’ve added conformance to
CustomStringConvertible so that you can
Enqueue, dequeue, and peek at elements to see your queue in action! Once you’ve seen how the methods work, click on the “Up Next” button.