• Bookmarks

    Bookmarks

  • Concepts

    Concepts

  • Activity

    Activity

  • Courses

    Courses


The Floyd-Warshall Algorithm is a dynamic programming technique used to find the shortest paths between all pairs of vertices in a weighted graph, accommodating both positive and negative edge weights, but not negative cycles. It operates with a time complexity of O(n^3), making it suitable for dense graphs with a relatively small number of vertices.
History Empty State Icon

Log in to see lessons

3