by ball_of_lint · 9y ago · 0 comments
For example, the rotate array is much better handles with a deque; you get amortized constant time rotations.