Skip to content

Commit 863f897

Browse files
committed
Fix relative path issues
1 parent bf543a2 commit 863f897

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

binary-search/binary-search.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ Now that we have the three possible scenarios handled, we just need to define wh
7777

7878
We want to keep searching while we have some range of numbers to check, so if `lo` ever becomes greater than `hi`, then our target value is not in the array due to the fact that we have run out of numbers to check.
7979

80-
![binary-search](..\resources\binary-search.png)
80+
![binary-search](../resources/binary-search.png)
8181

8282
## Problems
8383

graph-theory/introduction/introduction.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,11 @@ There are many ways to use an adjacency matrix to represent a matrix, but we wil
5353

5454
#### Connection matrix
5555

56-
![graph-theory-introduction-1](..\..\resources\graph-theory-introduction-1.png)
56+
![graph-theory-introduction-1](../../resources/graph-theory-introduction-1.png)
5757

5858
#### Cost matrix
5959

60-
![graph-theory-introduction-2](..\..\resources\graph-theory-introduction-2.png)
60+
![graph-theory-introduction-2](../../resources/graph-theory-introduction-2.png)
6161

6262
#### Pros and Cons
6363

@@ -75,7 +75,7 @@ Rather than making space for all _N_ x _N_ possible edge connections, an _adjace
7575

7676
We are able to do this by creating an array that contains `ArrayLists` holding the values of the vertices that a vertex is connected to.
7777

78-
![graph-theory-introduction-3](..\..\resources\graph-theory-introduction-3.png)
78+
![graph-theory-introduction-3](../../resources/graph-theory-introduction-3.png)
7979

8080
#### Pros and Cons
8181

graph-theory/shortest-path/dijkstras-algorithm/dijkstras-algorithm.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -53,15 +53,15 @@ There are several ways to implement this algorithm
5353

5454
#### Using an array
5555

56-
![graph-theory-dijkstras-algorithm-1](..\..\..\resources\graph-theory-dijkstras-algorithm-1.png)
56+
![graph-theory-dijkstras-algorithm-1](../../../resources/graph-theory-dijkstras-algorithm-1.png)
5757

5858
#### Using a priority queue
5959

6060
Remember that as you add items to a priority queue, they are automatically sorted within the queue, so that you are given the "smallest" item when you remove it from the queue.
6161

6262
First, we need to define our `Vertex` class and what attributes it will contain.
6363

64-
![graph-theory-dijkstras-algorithm-2](..\..\..\resources\graph-theory-dijkstras-algorithm-2.png)
64+
![graph-theory-dijkstras-algorithm-2](../../../resources/graph-theory-dijkstras-algorithm-2.png)
6565

6666
Remember that when we used `dist[]` to keep track of distances, we had to look through _all_ tentative distances to see which vertex to visit; with this method, we just remove the next vertex from the priority queue and it will be guaranteed to have the smallest distance.
6767

@@ -95,7 +95,7 @@ Just like BFS, we are repeating the steps of the algorithm until the queue is em
9595

9696
Now that we have our stopping condition, we can implement the rest of the algorithm
9797

98-
![graph-theory-dijkstras-algorithm-3](..\..\..\resources\graph-theory-dijkstras-algorithm-3.png)
98+
![graph-theory-dijkstras-algorithm-3](../../../resources/graph-theory-dijkstras-algorithm-3.png)
9999

100100
## Problems
101101

0 commit comments

Comments
 (0)