The time complexity of the libc++ deque push_front implementation is O(log n) | Dark Hacker News