Fix typo: "reaplce" => "replace" (#24056)

This commit is contained in:
Darryl Yeo
2018-10-22 11:56:00 -07:00
committed by Randell Dawson
parent 20dc65f6ce
commit 421141d7f4

View File

@ -17,7 +17,7 @@ The problem is pretty simple and usually follows these steps:
2. Decide wether you want to go in 4 directions (**N, S, W, E**) or 8 directions (**N, S, W, E, NW, NE, SW, SE**).
3. Choose a replacement color and a target color.
4. Travel in those directions.
5. If the tile you land on is a target, reaplce it with the chosen color.
5. If the tile you land on is a target, replace it with the chosen color.
6. Repeat 4 and 5 until you've been everywhere within the boundaries.
Let's take the following array as an example: