Fix typo: "Excercise" => "Exercise" (#24064)

This commit is contained in:
Darryl Yeo
2018-10-22 11:51:46 -07:00
committed by Randell Dawson
parent 6027a29b7b
commit f24303d8e7

View File

@ -53,7 +53,6 @@ void flood_fill(int pos_x, int pos_y, int target_color, int color)
} }
``` ```
As seen above, my starting point is (4,4). After calling the function for the start coordinates **x = 4** and **y = 4**, As seen above, my starting point is (4,4). After calling the function for the start coordinates **x = 4** and **y = 4**,
@ -63,7 +62,7 @@ and start checking the other adiacent squares.
Going south we will get to point (5,4) and the function runs again. Going south we will get to point (5,4) and the function runs again.
### Excercise problem ### Exercise problem
I always considered that solving a (or more) problem/s using a newly learned algorithm is the best way to fully understand I always considered that solving a (or more) problem/s using a newly learned algorithm is the best way to fully understand
the concept. the concept.
@ -106,7 +105,3 @@ The problem is quite easy, but here are some hints:
1. Use the flood-fill algorithm whenever you encounter a new island. 1. Use the flood-fill algorithm whenever you encounter a new island.
2. As opposed to the sample code, you should go through the area of the island and not on the ocean (0 tiles). 2. As opposed to the sample code, you should go through the area of the island and not on the ocean (0 tiles).