Skip to content

Commit 302db81

Browse files
authored
Fixes #3323 Javadoc generation errors in backtracking algorithms (#3326)
1 parent 471d2c0 commit 302db81

File tree

2 files changed

+13
-15
lines changed

2 files changed

+13
-15
lines changed

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ public static void putPixel(int[][] image, int x, int y, int newColor) {
3737
* @param y The y co-ordinate at which color is to be filled
3838
* @param newColor The new color which to be filled in the image
3939
* @param oldColor The old color which is to be replaced in the image
40-
* @return
4140
*/
4241
public static void floodFill(
4342
int[][] image,

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

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -73,22 +73,21 @@ public static void mazeRecursion() {
7373
}
7474
}
7575

76-
// Using recursive path finding to help the ball find its way in the maze
77-
// Description:
78-
// 1. map (means the maze)
79-
// 2. i, j (means the initial coordinate of the ball in the maze)
80-
// 3. if the ball can reach the end of maze, that is position of map[6][5],
81-
// means the we have found a path for the ball
82-
// 4. Additional Information: 0 in the map[i][j] means the ball has not gone
83-
// through this position, 1 means the wall, 2 means the path is feasible, 3
84-
// means the ball has gone through the path but this path is dead end
85-
// 5. We will need strategy for the ball to pass through the maze for example:
86-
// Down -> Right -> Up -> Left, if the path doesn't work, then backtrack
8776
/**
88-
*
89-
* @Description
77+
* Using recursive path finding to help the ball find its way in the maze
78+
* Description:
79+
* 1. map (means the maze)
80+
* 2. i, j (means the initial coordinate of the ball in the maze)
81+
* 3. if the ball can reach the end of maze, that is position of map[6][5],
82+
* means the we have found a path for the ball
83+
* 4. Additional Information: 0 in the map[i][j] means the ball has not gone
84+
* through this position, 1 means the wall, 2 means the path is feasible, 3
85+
* means the ball has gone through the path but this path is dead end
86+
* 5. We will need strategy for the ball to pass through the maze for example:
87+
* Down -> Right -> Up -> Left, if the path doesn't work, then backtrack
88+
*
9089
* @author OngLipWei
91-
* @date Jun 23, 202111:36:14 AM
90+
* @version Jun 23, 2021 11:36:14 AM
9291
* @param map The maze
9392
* @param i x coordinate of your ball(target)
9493
* @param j y coordinate of your ball(target)

0 commit comments

Comments
 (0)