Java help please
8) What is the complexity of adding an item to a queuethat is implemented using an array? What is the complexity ofadding an item to a queue that is implemented using linearnodes?
10) Why must an object being added to an OrderList haveimplemented the Comparable interface? Be concise and clear
11) All operatons on a stack are: circle yourchoice
a) O(1)
b) 0(n)
c) O(n^2)
d) O(log n)
Expert Answer
An answer will be send to you shortly. . . . .