Societe Generale Written Test Qs.(Data Structures) :: Queue - Discussion
Home > Freshers Archives > Societe Generale Placement Questions & Answers > MCQs Questions Discussion
2 / 224
Choose the correct option.
Time taken for addition of element in queue is
DNone of these options
Answer: Option (Login/Signup)
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).