DS-Algo-Zone icon indicating copy to clipboard operation
DS-Algo-Zone copied to clipboard

Shortest Path in Unweighted Graph using BFS

Open CrapTheCoder opened this issue 4 years ago • 10 comments

🚀 Feature

Shortest path from one node to another node in an unweighted graph using Breadth First Search.

Have you read the Contribution Guidelines?

Yes

Pitch

Complexity of this algorithm: O(V+E) Complexity of Dijkstra algorithm: O(V^2) when unoptimized, or O(V + E log V) when optimized using Priority Queue.

This algorithm is faster than the popular Dijkstra Algorithm, and is also far simpler, as it only uses a Breadth First Search.

CrapTheCoder avatar Sep 30 '21 19:09 CrapTheCoder

I would like to tackle this problem using Python

CrapTheCoder avatar Sep 30 '21 19:09 CrapTheCoder

Assigned to: @crapthecoder - Python @shubhamnag14 - C++ @ShivangiRai1310 - Java

manan025 avatar Sep 30 '21 19:09 manan025

Can I work in this issue using c++

shubhamnag14 avatar Sep 30 '21 20:09 shubhamnag14

@shubhamnag14 Sure.

manan025 avatar Sep 30 '21 20:09 manan025

Can I work on this using Java?

ShivangiRai1310 avatar Sep 30 '21 20:09 ShivangiRai1310

@ShivangiRai1310 Sure

manan025 avatar Sep 30 '21 20:09 manan025

@manan025 I want to work on this?

vedant-jain03 avatar Oct 01 '21 10:10 vedant-jain03

@vedant-jain03 language?

manan025 avatar Oct 01 '21 11:10 manan025

@manan025 I want to work in on this in c++

Mudit018 avatar Oct 01 '21 17:10 Mudit018

@Mudit018 already assigned. Sorry.

manan025 avatar Oct 01 '21 17:10 manan025