Data Structures :: Queue

Home > Data Structures > Queue > Discussion

8. Time taken for addition of element in queue is

Answer: Option C

Explanation :

I think this answer should be A. O(1). because this question is asked about the normal queue.



For priority queue this should be O(log n).

Asked In :: BOA (Bank of America)

Post Your Answer Here:     

Reply     |    Rate This: +3 -0      |     Report     |     To Reading List



Report Error

Please Login First Click Here