Join Slack
Powered by
The add operation runs in amortized constant time,...
# random
j
jo
12/22/2016, 8:59 PM
The add operation runs in amortized constant time, that is, adding n elements requires O(n) time. All of the other operations run in linear time (roughly speaking).
Open in Slack
Previous
Next