Outline



queues



queue interface



queue implementation strategies



array implementation of queues



in-place array implementation



generic array allocation



implementation of the method offer



implementation of the method poll



queue applications



queue implementation strategies reminder



naive linked list implementation of queues



linked list implementation of queues



runtime and space



actual runtime



implementation comparison