Open TysonAndre opened 2 years ago
For Deque, no elements are being shifted in the underlying collection, unlike array_shift/array_unshift, which take linear time instead of constant time to shift elements in arrays.
Deque
See https://externals.io/message/116100#116214
For
Deque
, no elements are being shifted in the underlying collection, unlike array_shift/array_unshift, which take linear time instead of constant time to shift elements in arrays.See https://externals.io/message/116100#116214