We are here with you hands in hands to facilitate your learning & don't appreciate the idea of copying or replicating solutions. Read More>>
Your assignment must be uploaded/submitted at or before 4th June 2015.
Please view the assignment submission process document provided to you by the Virtual University to upload the assignment. And submit your solution as Microsoft word file.
Rules for Marking
It should be clear that your assignment will not get any credit if:
oThe assignment is submitted after due date.
oThe submitted assignment does not open or run.
oThe assignment is copied
Problem #1: 10 marks
Recall BuildHeap (1,n) that builds a heap of n-elements from an array:
for i = n/2 downto 1 do
For the array drawn below, fill the boxes for each iteration of BuildHeap(1,10).
Assume that the root of the heap holds the maximum element.
Problem #2: 5 marks
Arrange the following in the Most to Least complexity order.
+ Click Here To Join also Our facebook study Group...How to Join Subject Study Groups & Get Helping Material?..
.+ http://bit.ly/vucodes (Link for Assignments, GDBs & Online Quizzes Solution)
+ http://bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)
how it possible
It'll be helpful for understanding and solving 1st Qstn...IN SHAA ALLAH !!
Yah this is helpful for heapSort Algorithm but not for BuildHeap...
It tried as per my concepts if any conspiracy kindly reply here.
brother total itration kitni krni hain or 2nd q. ka kuch bata dain kindly