PA of Algorithms Q124

  • Option : C
  • Explanation :
    Prims algorithm is greedy method because it choose minimum distance node.
    Floyd warshal’s is dynamic because it changes the distance on each iteration.
    Merge sort is divide and conquer because it divide the whole list is sublist and combine after sorting each sublist
    Hamiltonian cycle is based on backtracking.
Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *