You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*[Bellman-Ford Algorithm](https://github.com/trekhleb/javascript-algorithms/tree/master/src/algorithms/graph/bellman-ford) - finding shortest path to all graph vertices
140
-
***Backtracking** - similarly to brute force, try to generate all possible solutions, but each time you generate a solution test
140
+
***Backtracking** - similarly to brute force, try to generate all possible solutions, but each time you generate next solution you test
141
141
if it satisfies all conditions, and only then continue generating subsequent solutions. Otherwise, backtrack, and go on a
142
-
different path of finding a solution
142
+
different path of finding a solution. Normally the DFS traversal of state-space is being used.
143
143
*[Hamiltonian Cycle](https://github.com/trekhleb/javascript-algorithms/tree/master/src/algorithms/graph/hamiltonian-cycle) - Visit every vertex exactly once
0 commit comments