Documente Academic
Documente Profesional
Documente Cultură
if l
ilililtflilililil|
llfll Iilil
Reg. No.
19287
Name : ................
2A]l
i)
algoritlm. (gx5=40)
8n + 4n.] + 8n4
ii) n2+nlogn
u, Vn +3logn
b) what do vou mean by scalar data types ? Explain
any Zdatatypes in
detail.
7
g
OR
15
list.
10
J
OR
P.T.O.
www.itgeeks.in
M 19287
g
-E
l||lilil
2) a) Explain with diagrams" how nodes can be added and deleted from
ilr
ililt
the middle
a+bxc+d.
rv. r) a) Write Kruskal's
Prim's algorithm
b) With suitable
OR
2)
9
6
V. 1) a) What is a heap ?Write an algorithrn to sort an aftay of integers using the heap
sort method. Given 30, 6l, 52, 42, 15, 90, 88, 37 are the elements on the
array. Show the different stages of sorting.
t5
OR
www.itgeeks.in
10