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

Commiteaaf92d

Browse files
committed
update readme
1 parentd3525f5 commiteaaf92d

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

‎README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,17 @@
8585

8686
[我看过的 100 本书](https://github.com/greyireland/awesome-programming-books-1)
8787

88-
##后续
88+
##更新计划
8989

9090
持续更新中,觉得还可以的话点个**star** 收藏呀 ⭐️~
9191

9292
【 Github 】[https://github.com/greyireland/algorithm-pattern](https://github.com/greyireland/algorithm-pattern) ⭐️
93+
94+
##完成打卡
95+
96+
完成计划之后,可以提交 Pull requests,在下面添加自己的项目仓库,完成自己的算法模板打卡呀~
97+
98+
| 完成| 用户| 项目地址|
99+
| ----| -------------------------------------------------| -------------------------------------------------------------------|
100+
||[wardseptember](https://github.com/wardseptember)|[notes(Java 实现)](https://github.com/wardseptember/notes)|
101+
| 🕒|[dashidhy](https://github.com/dashidhy)|[algorithm-pattern-python(Python 实现)](https://github.com/dashidhy/algorithm-pattern-python)|

‎data_structure/linked_list.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,8 @@ func hasCycle(head *ListNode) bool {
379379
fast:= head.Next
380380
slow:= head
381381
for fast !=nil && fast.Next !=nil {
382-
if fast.Val == slow.Val {
382+
// 比较指针是否相等(不要使用val比较!)
383+
if fast == slow {
383384
returntrue
384385
}
385386
fast = fast.Next.Next

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp