Ask Question

What is the time complexity of the addElement operation?

+2
Answers (1)
  1. 1 December, 06:08
    0
    The time complexity in the computer science is define as the computational complexity which basically describe the total amount of the time taken to execute the algorithm.

    Time complexity is basically estimated by count the number of operation perform by the algorithm.

    The time complexity of add-element operation is 2*log n or O (log n) and each time complexity is done by the log n times.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “What is the time complexity of the addElement operation? ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers