TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Finding a Loop in a Singly Linked List

3 pointsby rohitarondekarover 14 years ago

1 comment

RiderOfGiraffesover 14 years ago
Disappointing that this otherwise excellent discussion does not include the teleporting turtle, which is known to be more efficient (only in the constant - it's still O(n)) than his last solution as presented. You can find a discussion here:<p><a href="http://news.ycombinator.com/item?id=1068715" rel="nofollow">http://news.ycombinator.com/item?id=1068715</a>