From 00019a588893bcaffe1746ed42e08e27795406f5 Mon Sep 17 00:00:00 2001 From: Tzupy Date: Sun, 6 Jan 2019 17:39:01 +0200 Subject: [PATCH] Removed extra spaces from index.md (#26461) --- guide/english/algorithms/lee-algorithm/index.md | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/guide/english/algorithms/lee-algorithm/index.md b/guide/english/algorithms/lee-algorithm/index.md index 74f7b3c4bd..448880ec27 100644 --- a/guide/english/algorithms/lee-algorithm/index.md +++ b/guide/english/algorithms/lee-algorithm/index.md @@ -30,7 +30,7 @@ int dc[] = {0, 1, 0, -1}; queue X, Y; // the queues used to get the positions in the matrix -X.push(start_x); //initialize the queues with the start position +X.push(start_x); // initialize the queues with the start position Y.push(start_y); void lee() @@ -50,17 +50,11 @@ void lee() Y.push(yy); mat[xx][yy] = -1; // you usually mark that you have been to this position in the matrix } - } X.pop(); // eliminate the first position, as you have no more use for it - Y.pop(); - + Y.pop(); } - - } ``` - -