Skip to content

Commit c9e1d96

Browse files
rtanshsiriak
andauthored
Fix typos (TheAlgorithms#3615)
Co-authored-by: Andrii Siriak <siryaka@gmail.com>
1 parent a4ede35 commit c9e1d96

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
public class FloodFill {
88

99
/**
10-
* Get the color at the given co-odrinates of a 2D image
10+
* Get the color at the given coordinates of a 2D image
1111
*
1212
* @param image The image to be filled
1313
* @param x The x co-ordinate of which color is to be obtained
@@ -19,9 +19,9 @@ public static int getPixel(int[][] image, int x, int y) {
1919
}
2020

2121
/**
22-
* Put the color at the given co-odrinates of a 2D image
22+
* Put the color at the given coordinates of a 2D image
2323
*
24-
* @param image The image to be filed
24+
* @param image The image to be filled
2525
* @param x The x co-ordinate at which color is to be filled
2626
* @param y The y co-ordinate at which color is to be filled
2727
*/
@@ -32,7 +32,7 @@ public static void putPixel(int[][] image, int x, int y, int newColor) {
3232
/**
3333
* Fill the 2D image with new color
3434
*
35-
* @param image The image to be filed
35+
* @param image The image to be filled
3636
* @param x The x co-ordinate at which color is to be filled
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

0 commit comments

Comments
 (0)