Part A — Entry 1
What are the two methods available for deleting an element in an unordered list
implemented using arrays? Which one 15 efficient?
Differentiate between normal and binary trees.
What is the minimum and maximum number of elements in a heap of height 772
State the reason for the improved performance of shell sort.
When a rooted binary tree becomes heap?
List the basic steps in divide and conquer technique.
What are the problems that can be solved using backtracking technique?
How graphs are implemented using adjacency matrix?
Compare and contrast Kruskal’s and Prim’s algorithms.
DefinitionSource quality review required
Part B — Entry 2
Explain the concept of greedy algorithm with respect to minimum spanning tree
problem. [8]
How merge sort is carried out using divide and conquer technique. [8]
i) Give the algorithm to evaluate an arithmetic expression in postfix notation using
a stack and also find the value of the expression A B C * D/+ with A=2,B=3,
C=4 and D=6. [8]
it) Define ADT, Explain the concept of List ADT with the possible operations,
Show how it is implemented using cursor. [8]
[OR]
Explain the implementation of lists using pointers (singly linked list). List ail
possible operations on them. Illustrate them using simple code and diagrams. _[16]
Show how the values 14, 17, 11, 7, 53, 4, 13 are inserted into an empty AVL tree one
by one followed by the deletions of 53 and 11. [16]
[OR]
List and explain the different binary tree traversal techniques available with
appropriate pseudocode and diagrams. [16]
Give the quick sort algorithm. Build the initial heap for the array (42, 83, 21, 90, 55,
93, 81, 97, 37, 73]. [16]
[OR]
b] Write down the heap sort algorithm with heapify procedure. Illustrate the operation
of quick sort.on the array A = [42, 83, 21, 90, 55, 93, 81, 97, 37, 73, 84, 83]. [16]
P.T.O.
QS
15.
B]
i) Explain the working of Dijkstra's Algorithm with a simple example.
ii) How all pairs of shortest paths are found?
[OR]
i) State the basic idea behind BFS and DFS.
ii) Explain the working of BFS along with the data structures used in detail.
-:000:-
[10}
[6]
[4]
[12]
ExplanationSource quality review required