Both can be used to find the shortest path from single source. BFS runs in O(E+V), while Dijkstra\'s runs in O((V+E)*log(V)).
O(E+V)
O((V+E)*log(V))
Also, I\'ve s
Dijkstra's algorithm
Source : https://cs.stanford.edu/people/abisee/gs.pdf