Skip to content

Commit f105ca4

Browse files
Remove Unicode
1 parent 0f93e9f commit f105ca4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/linked_list_cycle.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def hasCycle(self, head: ListNode | None) -> bool:
2828
return False
2929

3030
# The algorithm maintains two pointers into the given sequence, one
31-
# (the tortoise) at xᵢ, and the other (the hare) at x₂ᵢ. At each step
31+
# (the tortoise) at xi, and the other (the hare) at x2i. At each step
3232
# of the algorithm, it increases i by one, moving the tortoise one step
3333
# forward and the hare two steps forward in the sequence, and then
3434
# compares the sequence values at these two pointers. The smallest

0 commit comments

Comments
 (0)