Professional Documents
Culture Documents
Data Structures
Data Structures
2: A hash function f defined as f(key)=key mod 7 with linear probing is used to insert the key 37, 38, 72,
48, 98, 11, 56 into a table indexed from 0 to 6. What will be the location of key 11?
3: Which of the following solves the all pair shortest path problem?
D: Warshall’s algorithm
5: The number of binary trees with 3 nodes which when traversed in post order gives the sequence A, B,
C is
A: 2 B:3 C: 4 D: 5
6: Which of the following is used for traversing a given graph by breadth first search?