You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems dequeues are not amortized O(1) when both unsnoc and uncons are called; in fact, the underlying two lists might "oscillate" such that the operations are amortized O(n). When only one of these is used it is amortized O(1).