Q103
Which among the following is the worst-case time complexity for appending an element in a variable-length array?
A.
O(n)
AnswerB.
O(1)
C.
O(n2)
D.
O(log n)
Answer: Option A
Solution
Answer: Option A
No explanation is given for this question Let's Discuss on Board