From 421141d7f4cf514ea67a08b78f6954806469ea7c Mon Sep 17 00:00:00 2001 From: Darryl Yeo Date: Mon, 22 Oct 2018 11:56:00 -0700 Subject: [PATCH] Fix typo: "reaplce" => "replace" (#24056) --- guide/english/algorithms/flood-fill/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guide/english/algorithms/flood-fill/index.md b/guide/english/algorithms/flood-fill/index.md index 6a57f9cf540..589f2d5b0c4 100644 --- a/guide/english/algorithms/flood-fill/index.md +++ b/guide/english/algorithms/flood-fill/index.md @@ -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: