From 1348bc7abd4645d26addb15a3704e4c586879a32 Mon Sep 17 00:00:00 2001
From: Kanwae Kan <44528106+kanwaekan@users.noreply.github.com>
Date: Wed, 13 Sep 2023 14:04:23 +0530
Subject: [PATCH 1/2] Added a comma for clarity
---
src/others/tortoise_and_hare.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/others/tortoise_and_hare.md b/src/others/tortoise_and_hare.md
index ba0240579..efe444273 100644
--- a/src/others/tortoise_and_hare.md
+++ b/src/others/tortoise_and_hare.md
@@ -83,9 +83,9 @@ Lets try to calculate the distance covered by both of the pointers till they poi

-$slowDist = a + xL + b$ $x\ge0$
+$slowDist = a + xL + b$ , $x\ge0$
-$fastDist = a + yL + b$ $y\ge0$
+$fastDist = a + yL + b$ , $y\ge0$
- $slowDist$ is the total distance covered by slow pointer.
- $fastDist$ is the total distance covered by fast pointer.
From 64e7f287c10b411a25d0ec516537b68424075c23 Mon Sep 17 00:00:00 2001
From: Kanwae Kan <44528106+kanwaekan@users.noreply.github.com>
Date: Wed, 13 Sep 2023 14:11:02 +0530
Subject: [PATCH 2/2] Minor error in Equation
---
src/others/tortoise_and_hare.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/others/tortoise_and_hare.md b/src/others/tortoise_and_hare.md
index efe444273..71405975e 100644
--- a/src/others/tortoise_and_hare.md
+++ b/src/others/tortoise_and_hare.md
@@ -94,7 +94,7 @@ $fastDist = a + yL + b$ , $y\ge0$
- $x$ is the number of times the slow pointer has looped inside the cycle, starting from and ending at **C**.
- $y$ is the number of times the fast pointer has looped inside the cycle, starting from and ending at **C**.
-$slowDist = 2 \cdot (fastDist)$
+$fastDist = 2 \cdot (slowDist)$
$a + yL + b = 2(a + xL + b)$