Aug2016 cs Q36

  • Option : C
  • Explanation :
  • Prim’s algorithm takes O(E lgV) time.
  • Bellman-Ford algorithm takes O(V2E) time.
  • Floyd-Warshall algorithm takes O(V3) time.
  • Johnson’s algorithm takes O(VE lgV) time.
  • So, option (C) is correct.
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 *