Using deque for data collections.