Page 1 of 1

What is the complexity of given function of insertion. insert(int n) { if(buffer_size()< maxi_biffer_size()) buffer

Posted: Wed Jul 13, 2022 7:42 pm
by answerhappygod
a) O(logn)
b) amortized O(1)
c) O(n)
d) O (n*logn)