@@ -307,7 +307,7 @@ Example: Suppose you have given a tree structure and asked to calculate the aver
307307
308308![ ] ( https://i.imgur.com/DdFyXGx.png )
309309
310- - [ Breadth-first Traversal Exercise ] ( https://codepen.io/roopkt/pen/bGqjVZe?editors=0010 )
310+ - [ Breadth-first Traversal Question ] ( https://codepen.io/roopkt/pen/bGqjVZe?editors=0010 )
311311- [ Breadth-first Traversal Answer] ( https://codepen.io/roopkt/pen/XWMBdWv?editors=0010 )
312312
313313#### Depth-first Traversal (DFT)
@@ -323,7 +323,7 @@ The DFS algorithm we start from starting point and go into depth of graph until
323323
324324![ ] ( https://i.imgur.com/DdFyXGx.png )
325325
326- - [ Breadth-first Traversal Exercise ] ( https://codepen.io/roopkt/pen/bGqjVZe?editors=0010 )
326+ - [ Breadth-first Traversal Question ] ( https://codepen.io/roopkt/pen/bGqjVZe?editors=0010 )
327327- [ Breadth-first Traversal Answer] ( https://codepen.io/roopkt/pen/XWMBdWv?editors=0010 )
328328
329329#### Difference between Breadth-first vs Depth-first traversal
@@ -359,7 +359,7 @@ Below image showing how to add `[3, 7, 4, 6, 5, 1, 10, 2, 9, 8]` in BST.
359359
360360![ ] ( https://i.imgur.com/qkefQzD.png )
361361
362- - [ Binary Search Tree Implementation Exercise ] ( https://codepen.io/roopkt/pen/RwpJBOw?editors=0010 )
362+ - [ Binary Search Tree Implementation Question ] ( https://codepen.io/roopkt/pen/RwpJBOw?editors=0010 )
363363- [ Binary Search Tree Implementation Answer] ( https://codepen.io/roopkt/pen/LYWBYMM?editors=0010 )
364364
365365### Trie
@@ -397,7 +397,7 @@ Graph represents network. It has Nodes, Vertices and Edges.
397397
398398![ ] ( https://i.imgur.com/eqzKDIV.png )
399399
400- [ Exercise ] ( https://codepen.io/roopkt/pen/ZEejLJe?editors=0010 )
400+ [ Question ] ( https://codepen.io/roopkt/pen/ZEejLJe?editors=0010 )
401401[ Answer] ( https://codepen.io/roopkt/pen/vYxagrP?editors=0010 )
402402
403403#### Breadth First Search (BFS)
@@ -407,7 +407,7 @@ Find all possible routes from `PHX` to `BKK`. Also then you can decide which pat
407407
408408![ ] ( https://i.imgur.com/Fc8HIae.png )
409409
410- [ Exercise Answer Source Code: Find all possible routes using BFS] ( ./src/data-structure/5-graph/breadth-first-search.mjs )
410+ [ Question Answer Source Code: Find all possible routes using BFS] ( ./src/data-structure/5-graph/breadth-first-search.mjs )
411411
412412![ ] ( https://i.imgur.com/CvPhRQx.png )
413413
@@ -417,7 +417,7 @@ Find all possible routes from `PHX` to `BKK`. Also then you can decide which pat
417417
418418![ ] ( https://i.imgur.com/wHevaTK.png )
419419
420- [ Exercise Answer Source Code: Find shortest path using DFS] ( ./src/data-structure/5-graph/depth-first-search.mjs )
420+ [ Question Answer Source Code: Find shortest path using DFS] ( ./src/data-structure/5-graph/depth-first-search.mjs )
421421
422422## Algorithms Q&A
423423
@@ -435,8 +435,8 @@ Merge Sort Implementation Visualization:
435435
436436[ ![ Merge Sort Algorithm Simulator] ( https://img.youtube.com/vi/UxnyImctVzg/0.jpg )] ( https://www.youtube.com/watch?v=UxnyImctVzg ' Merge Sort Algorithm Simulator ')
437437
438- - [ Merge Sort Implementation Exercise ] ( https://codepen.io/roopkt/pen/ExWRRgP?editors=0010 )
439- - [ Merge Sort Implementation Answer] ( https://codepen.io/roopkt/pen/zYZaaZr ?editors=0010 )
438+ - [ Merge Sort Implementation Question ] ( https://codepen.io/roopkt/pen/ExWRRgP?editors=0010 )
439+ - [ Merge Sort Implementation Answer] ( https://codepen.io/roopkt/pen/ZEeMPPL ?editors=0010 )
440440
441441#### Find Median Values (With Merge Sort Algorithm)
442442
@@ -446,7 +446,7 @@ Merge Sort Implementation Visualization:
446446
447447So in order to find median we can use the stich algorithm since arrays are already sorted. Then we can find the middle index.
448448
449- [ Exercise File] ( src/sorting/merge-sort/find-median-values.mjs )
449+ [ Question File] ( src/sorting/merge-sort/find-median-values.mjs )
450450
451451### Quick Sort
452452
@@ -456,7 +456,7 @@ When Browser's are not using Merge sort they most of the time use Quick sort var
456456
457457#### Quick Sort Implementation
458458
459- - [ Implement Quick Sort Exercise ] ( https://codepen.io/roopkt/pen/NWpzMRv?editors=0010 )
459+ - [ Implement Quick Sort Question ] ( https://codepen.io/roopkt/pen/NWpzMRv?editors=0010 )
460460- [ Implement Quick Sort Answer] ( https://codepen.io/roopkt/pen/eYvKrvP?editors=0010 )
461461
462462### BFS (Breath First Search)
@@ -481,7 +481,7 @@ Slice does not mutate the original array.
481481[ Example of slice] ( https://i.imgur.com/9iaew6W.png ) :
482482
483483``` js
484- [20 ,39 ,48 ,58 ,16 ,36 ,48 ].slice (0 ,3 ) = [20 ,39 ,48 , 58 ]
484+ [20 ,39 ,48 ,58 ,16 ,36 ,48 ].slice (0 ,3 ) = [20 ,39 ,48 ]
485485[20 ,39 ,48 ,58 ,16 ,36 ,48 ].slice (3 ,7 ) = [58 ,16 ,36 ,48 ]
486486```
487487
0 commit comments