Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf2f28ea

Browse files
authored
Update tortoise_and_hare.md
the happy number problem can be solved using a hashset, but it can also be solved in constant space using floyd's algo
1 parentdfacc51 commitf2f28ea

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎src/others/tortoise_and_hare.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,5 +110,6 @@ And since we let the slow pointer start at the start of the linked list, after $
110110

111111
#Problems:
112112
-[Linked List Cycle (EASY)](https://leetcode.com/problems/linked-list-cycle/)
113+
-[Happy Number (Easy)](https://leetcode.com/problems/happy-number/)
113114
-[Find the Duplicate Number (Medium)](https://leetcode.com/problems/find-the-duplicate-number/)
114115

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp