Skip to content

Commit 3f0c02f

Browse files
committed
Fixes(#3359)
1 parent 4b761d4 commit 3f0c02f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/thealgorithms/backtracking/AllPathsFromSourceToTarget.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ private int printAllPathsUtil(Integer u, Integer d, boolean[] isVisited, List<In
100100
}
101101

102102
// Driver program
103-
public static int[][] allPathsFromSourceToTarget(int vertices, int a[][], int source, int destination, int num_of_paths)
103+
public static boolean allPathsFromSourceToTarget(int vertices, int a[][], int source, int destination, int num_of_paths)
104104
{
105105
// Create a sample graph
106106
AllPathsFromSourceToTarget g = new AllPathsFromSourceToTarget(vertices);

0 commit comments

Comments
 (0)