in reply to Re^9: [OT:] Is this Curriculum right?
in thread [OT:] Is this Curriculum right?

> Unshifts are O(1).

Please explain why not "amortized O(1)", the cases are symmetric.

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery

Replies are listed 'Best First'.
Re^11: [OT:] Is this Curriculum right?
by ikegami (Patriarch) on Nov 28, 2021 at 18:41 UTC

    Sorry, was thinking of shift.