Question: What is the time complexity of enqueuing an element in a queue implemented using an array?
Options:
Correct Answer: O(1)
Solution:
Enqueuing an element in a queue implemented using an array is done in constant time, O(1), unless the array needs to be resized.