Publisher review:Deque collection class uses a dictionary as the underlying data structure for the deque. This script is a pure python drop in replacement for collections.deque(). It uses a dictionary as the underlying data structure for the deque (pronounced "deck", short for "double-ended queue", a generalization of stacks and queues) which provides O(1) performance for appends and pops from either end.
Deque collection class is a Python script for Programming Methods and Algorithms scripts design by Raymond Hettinger.
It runs on following operating system: Windows / Linux / Mac OS / BSD / Solaris.
Deque collection class uses a dictionary as the underlying data structure for the deque.
Operating system:Windows / Linux / Mac OS / BSD / Solaris