A Python list wasn’t ideal here, because it is not efficient to add/delete itemsfrom both ends of a list (recall, with a queue we add items to one end andremove them from the other end)• We could use a Python list with a conceptually circular structure, which helps,but there is a trade-off (in terms of code complexity and memory)