(vertex)
| 22 | } |
| 23 | |
| 24 | removeVertex(vertex) { |
| 25 | while (this.adjacencyObject[vertex].length) { |
| 26 | const adjacentVertex = this.adjacencyObject[vertex].pop() |
| 27 | this.removeEdge(vertex, adjacentVertex) |
| 28 | } |
| 29 | } |
| 30 | |
| 31 | /** |
| 32 | * Return DFS (Depth First Search) List Using Recursive Method |
no test coverage detected