Skip to content

Commit

Permalink
Added a comma for clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
kanwaekan authored Sep 13, 2023
1 parent 4214e35 commit 1348bc7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/others/tortoise_and_hare.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,9 @@ Lets try to calculate the distance covered by both of the pointers till they poi

<center>!["Proof"](tortoise_hare_proof.png)</center>

$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.
Expand Down

0 comments on commit 1348bc7

Please sign in to comment.