Space complexity for bubble sort is ______.
a) O(1) b) O(n2) c) O(n) d) None of the above
a) O(1) b) O(n2) c) O(n) d) None of the above
a) O(n) b) O(n2) c) O(2n2) d) None of these.
a) O(n2) b) O(n) c) Both a and b d) None of these.
a) Rehashing b) Chaining c) Both a and b d) None of these
a) Heap table b) Hash table c) Priority queue d) None of these.
a) Open addressing b) Closed hashing c) Both a and b d) None of these.
a) O(n) b) O(1) c) O(log n) d) None of these.
a) O(b) b) O(1) c) O(2) d) None of these.
a) 0 and n-1 b) 0 and n-2 c) 0 and n d) 0 and n-3
a) nth b) n-1th c) n-2 th d) n-3th
a) Child node b) Parent node c) Both a and b d) None of these.
a) n b) n logn c) 2n d) None of these.
a) Priority queue b) Stack c) Both a and b d) None of these.
a) UnderflowΒ b) Overflow c) Empty d) Full
a) O(n) b) O(logN) c) O(2n) d) O(n2)
a) Priority queue b) Stack c) Queue d) None of these