What is the space complexity of a linear queue having n elements?
A. O(n)
B. O(nlogn)
C. O(logn)
D. O(1)
Answer:A
What is the space complexity of a linear queue having n elements?
A. O(n) B. O(nlogn) C. O(logn) D. O(1)
Explanation: There are n elements in the equation.