[Updated] Goldman Sachs Aptitude Test Questions and Answers
Practice List of TCS Digital Coding Questions !!!
Take 50+ FREE!! Online Data Interpretation Mock test to crack any Exams.

Data Structures :: Queue - Discussion

Home > Data Structures > Queue > MCQs Questions Discussion

1 / 42

Choose the correct option.

Time taken for addition of element in queue is



CO(log n)

DNone of these options

Answer: Option (Login/Signup)

Show 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) Societe Generale Capgemini

Post Your Answer Here:     

Rate This: +4 -0 +

Report Error

Please Login First Click Here