Professional Documents
Culture Documents
Which of The Following Is An External Sorting?: Merge Sort Tree Sort Bubble Sort Insertion Sort
Which of The Following Is An External Sorting?: Merge Sort Tree Sort Bubble Sort Insertion Sort
Which of The Following Is An External Sorting?: Merge Sort Tree Sort Bubble Sort Insertion Sort
Compact representation of the suffix trie for a string X of size n from an alphabet of size
d
(c) Supports arbitrary pattern matching queries in X in O(dm) time, where m is the size of the
pattern
(b) Stack
(d) Queue
In bad match table of Boyer Moore algorithm, the suffix value for the characters of
pattern is calculated using
(a) max(1, len(P), index(ch))
(d) max(1,len(P)-index(ch))
a) 7 b) 14
c) 36 d) 49
A __________is a graph that has weights of costs associated with its edges.
A ________ is a special Tree-based data structure in which the tree is a complete binary tree.?
The brute-force pattern matching algorithm compares the pattern P with the text T for each
___________________________________________________.
In a max-heap, element with the greatest key is always in the which node?
a) Leaf node
A graph is a collection of nodes, called ………. And line segments called arcs or ……….. that
connect pair of nodes.