Insert elements in a priority queue implemented with an unsorted sequence is done in ____.
a) Insertion sort b) Selection sort c) Quick sort d) None of these
a) Insertion sort b) Selection sort c) Quick sort d) None of these
a) Priority b) Queue c) Stack d) None of these.
a) O(n2) b) O(n) c) O(n3) d) None of these.
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.