Learning Objectives:
Software Tools Needed: Web browser to access textbook and an IDE (on-line or on computer) with core Python 3.6+ loaded.
Today's lab continues our focus on linear data types. Last lab we introduced stacks and linked lists from Chapter 3. For this lab, work through the sections on queues and deques:
After working through the textbook sections above, try Program 20: Checkout Lines (also part of classwork for Lecture 7).
After working through the textbook sections above, try Program 21: Number Converter.
For additional practice on core Python, see the HackerRank prepare series:
HackerRank: Prepare Python
Click the Easy
option on the right hand menu, and work through their Python challenges.
For more practice on using stacks & queues to solve problems, here are some popular ones from LeetCode: