This repository has sample code for differect classic data structures. Implemented with python.
http://bigocheatsheet.com/
http://bigocheatsheet.com/
http://bigocheatsheet.com/
append: O(1)
appendleft: O(1)
pop: O(n)
popleft: O(1)
peek: O(1)
peekleft: O(1)