Skip to content

FEATURE REQUEST] Dijkstra's Algorithm with Priority Queue #7112

@Raghu0703

Description

@Raghu0703

What would you like to share?

Implement Dijkstra's algorithm for finding shortest paths from a source vertex to all other vertices in a weighted graph.
Key Features:

Use PriorityQueue for optimal performance
Handle negative weights detection
Time Complexity: O((V + E) log V)
Include practical examples (GPS routing, network routing)

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions