Skip to content

Commit 88bb919

Browse files
committed
chore: updated readme
1 parent e6f7ed5 commit 88bb919

File tree

1 file changed

+6
-11
lines changed

1 file changed

+6
-11
lines changed

README.md

+6-11
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@
3838
- [Hash-Table](#hash-table)
3939
- [Graph](#graph)
4040
- [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)
4343
- [Algorithms Q&A](#algorithms-qa)
4444
- [Merge Sort](#merge-sort)
4545
- [Merge Sort Implementation](#merge-sort-implementation)
@@ -400,23 +400,18 @@ Graph represents network. It has Nodes, Vertices and Edges.
400400
[Exercise](https://codepen.io/roopkt/pen/ZEejLJe?editors=0010)
401401
[Answer](https://codepen.io/roopkt/pen/vYxagrP?editors=0010)
402402

403-
#### Breadth First Search
403+
#### Breadth First Search (BFS)
404404

405405
When you want to find all possible routes between airports then you want to use BFS.
406406
Find all possible routes from `PHX` to `BKK`. Also then you can decide which path is the shortest one.
407407

408408
![](https://i.imgur.com/CvPhRQx.png)
409409

410-
[Breadth First Search Find all possible routes Exercise & Answer](./src/data-structure/5-graph/breadth-first-search.mjs)
410+
![](https://i.imgur.com/Fc8HIae.png)
411411

412-
#### Breadth First Search
412+
[Find all possible routes using BFS Exercise & Answer](./src/data-structure/5-graph/breadth-first-search.mjs)
413413

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-
![](https://i.imgur.com/CvPhRQx.png)
418-
419-
[Breadth First Search Exercise Answer](./src/data-structure/5-graph/breadth-first-search.mjs)
414+
#### Depth First Search (DFS)
420415

421416
## Algorithms Q&A
422417

0 commit comments

Comments
 (0)