A programmer implements a queue as a singly-linked list. The queue has "n"
elements. What will be the time complexity to ADD an element to the queue?
Answers
Answered by
33
Answer:
Computer programmers design, develop, and test software and ensure software adhere's to best practices in performance, reliability and security. Computer programmers can work developing mobile applications, coding video games, programming websites, and much more.
Answered by
88
Answer:
time complicity is
O(log2n)
Similar questions
Math,
2 months ago
Social Sciences,
2 months ago
Math,
5 months ago
Physics,
5 months ago
Biology,
11 months ago
Social Sciences,
11 months ago