Modify the Floyd-Warshall algorithm to detect whether graph G has a cycle of weight w < 0.

Related Book For  answer-question

Introduction to Algorithms

ISBN: 978-0262033848

3rd edition

Authors: Thomas H. Cormen, Charles E. Leiserson, Ronald L. Rivest

Posted Date: