In heap we are removing the elements in the zero position and swapping it at the _____ position.
a) nth b) n-1th c) n-2 th d) n-3th
a) nth b) n-1th c) n-2 th d) n-3th
a) Child node b) Parent node c) Both a and b d) None of these.
a) n b) n logn c) 2n d) None of these.
a) Priority queue b) Stack c) Both a and b d) None of these.
a) Underflow b) Overflow c) Empty d) Full
a) O(n) b) O(logN) c) O(2n) d) O(n2)
a) Priority queue b) Stack c) Queue d) None of these
a) Distinct b) Random c) Optional d) None of these
a) Level-order b) High order c) Tree order d) None of these.
a) Shortest path b) Longest path c) Both a and b d) None of the above
a) Divide and conquer. b) Greedy c) Divide d) Rotation
a) The spanning tree b) Cyclic graph c) Acyclic graph d) None of these.
a) NP_Soft problem b) NP_Hard problem c) Both a and b d) None of these.
a) Redundancy b) Robust c) Reliability d) None of these
a) Weighted graph b) Unweighted graph c) Directed graph d) Undirected graph
a) Asymmetric b) Symmetric c) Distinct d) Vary