ACtE07 · Chapter 7Data Structures, DBMS & Operating Systems🏛️ Past Licensure QuestionID: 2f07d7a7
What is the time complexity of enqueue operation in a queue?
What is the time complexity of enqueue operation in a queue?
Multiple Choice Options
- A✓ Correct Option
O(1)
- B
O(n)
- C
O(log n)
- D
O(n^2)
Detailed Technical Solution & Explanation
According to standard engineering principles, for What is the time complexity of enqueue operation in a queue?, the correct choice is O(1).
Option Analysis:
•
Option A (O(1)): Correct. Valid technical statement directly addressing the question requirement.
•
Option B (O(n)): Incorrect. Does not satisfy the technical condition or specifies an alternate/invalid property.
•
Option C (O(log n)): Incorrect. Does not satisfy the technical condition or specifies an alternate/invalid property.
•
Option D (O(n^2)): Incorrect. Does not satisfy the technical condition or specifies an alternate/invalid property.
Reference: Demo2 · Set 2NEC Licensure Syllabus