StephenCleary / Deque

Double-ended queue
MIT License
121 stars 25 forks source link
c-sharp deque

Logo

Deque Build status codecov NuGet version API docs

A double-ended queue, which provides O(1) indexed access, O(1) removals from the front and back, amortized O(1) insertions to the front and back, and O(N) insertions and removals anywhere else.