From the course: Python Data Structures and Algorithms

Solution: Practice queue methods - Python Tutorial

From the course: Python Data Structures and Algorithms

Solution: Practice queue methods

(energetic music) - [Instructor] Here's the solution to our queue challenge. So at the end of that sequence of operations you should have had a LinkedIn left in your queue, and, because it's not just a list it's actually a deque, then the output would have been displayed in this format on the slide as a deque brackets list Linked comma In. You can, of course, run the code in your program to check this if you'd like.

Contents