Simple Queue using Python (A-Level Computer Science)

preview_player
Показать описание
This video shows how to create a simple queue class in Python using a fixed-length list and head and tail pointers. It's designed to mimic the type of pseudocode that you see in many of the A-Level syllabuses. Note that an efficient implementation of a queue using a static data structure like this will always end up being a circular queue, since the data migrates through the underlying data structure as items are enqueued and dequeued.
Рекомендации по теме
welcome to shbcf.ru