Brute force is a ______.
a) Straight forward approach b) Straight backward approach c) Both a and b d) None of these
a) Straight forward approach b) Straight backward approach c) Both a and b d) None of these
a) Bubble sort b) Insertion sort c) Quick sort d) Merge sort
a) Insertion sort b) Heap sort c) Bubble sort d) Quick sort
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