When using a linked-list-based queue, the time complexity of enqueueing an element is:
O(log n)
O(n)
O(1)
O(n^2)

Data Structures and Algorithms Exercises are loading ...