greyireland / greyireland/algorithm-pattern

链表是否有环的题目 ---linked-list-cycle 中有错误,直接使用了节点的值进行比较

Open
#5 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
Go
Stars
15.5k
Forks
2.6k
PR merge metrics
No merged PRs in 30d

Description

链表中的 linked-list-cycle 问题
直接使用了节点的值进行比较
应该使用内存地址比较。

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.