Correct Answer : Option (B) : There must be mechanism to delete and/or insert elements in list
Correct Answer : Option (B) : data collection should be in sorted form and equally distributed.
Explanation : For this algorithm to work properly the data collection should be in sorted form and equally distributed.
Correct Answer : Option (A) : parent nodes have values greater than or equal to their childs
Explanation : In a min heap, parents always have lesser or equal values than that of their childs.
Correct Answer : Option (C) : queue
Explanation : Queue is used for breadth first traversal whereas stack is used for depth first traversal.
Correct Answer : Option (D) : None of the above
Correct Answer : Option (A) : Arrays
Correct Answer : Option (D) : Greedy Algorithm
Explanation : Travelling salesman is an example of greedy algorithm. Greedy algorithms tries to find localized optimum solution which may eventually land in globally optimized solutions.
Correct Answer : Option (B) : Quick Sort
Explanation : Among the given, only quick sort is not stable that is it may re-arrange the already sorted items.
Correct Answer : Option (C) : selection sort
Correct Answer : Option (B) : Ο(1), Ο(1)
Explanation : As queue is maintained by two separate pointers for queue and dequeue operations, the run time for both is Ο(1).