emory-courses / dsa-java

Data Structures and Algorithms in Java
https://emory.gitbook.io/dsa-java/
42 stars 55 forks source link

[QZ#8] source==target? #189

Closed HowardYutingHou closed 3 years ago

HowardYutingHou commented 3 years ago

For the getAugmentingPaths(Graph graph, int source, int target), do we need to consider the case where the input source and the input target are the same?

marvinquiet commented 3 years ago

yes, please consider that