|
38 | 38 | - [Hash-Table](#hash-table)
|
39 | 39 | - [Graph](#graph)
|
40 | 40 | - [Implement Graph](#implement-graph)
|
41 |
| - - [Breadth First Search](#breadth-first-search) |
42 |
| - - [Breadth First Search](#breadth-first-search-1) |
| 41 | + - [Breadth First Search (BFS)](#breadth-first-search-bfs) |
| 42 | + - [Depth First Search (DFS)](#depth-first-search-dfs) |
43 | 43 | - [Algorithms Q&A](#algorithms-qa)
|
44 | 44 | - [Merge Sort](#merge-sort)
|
45 | 45 | - [Merge Sort Implementation](#merge-sort-implementation)
|
@@ -400,23 +400,18 @@ Graph represents network. It has Nodes, Vertices and Edges.
|
400 | 400 | [Exercise](https://codepen.io/roopkt/pen/ZEejLJe?editors=0010)
|
401 | 401 | [Answer](https://codepen.io/roopkt/pen/vYxagrP?editors=0010)
|
402 | 402 |
|
403 |
| -#### Breadth First Search |
| 403 | +#### Breadth First Search (BFS) |
404 | 404 |
|
405 | 405 | When you want to find all possible routes between airports then you want to use BFS.
|
406 | 406 | Find all possible routes from `PHX` to `BKK`. Also then you can decide which path is the shortest one.
|
407 | 407 |
|
408 | 408 | 
|
409 | 409 |
|
410 |
| -[Breadth First Search Find all possible routes Exercise & Answer](./src/data-structure/5-graph/breadth-first-search.mjs) |
| 410 | + |
411 | 411 |
|
412 |
| -#### Breadth First Search |
| 412 | +[Find all possible routes using BFS Exercise & Answer](./src/data-structure/5-graph/breadth-first-search.mjs) |
413 | 413 |
|
414 |
| -When you want to find all possible routes between airports then you want to use this. |
415 |
| -Find all possible routes from `PHX` to `BKK` |
416 |
| - |
417 |
| - |
418 |
| - |
419 |
| -[Breadth First Search Exercise Answer](./src/data-structure/5-graph/breadth-first-search.mjs) |
| 414 | +#### Depth First Search (DFS) |
420 | 415 |
|
421 | 416 | ## Algorithms Q&A
|
422 | 417 |
|
|
0 commit comments