Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
qls
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
2 ms
·
1.
▲
by
qls
8y ago
Good to see an actual change vs. SWEs that suck at LeetCode-style questions complain about these algorithmic questions... It's ironic considering how MSFT pioneered the original brain teasers/problem solving questions.
2.
▲
by
qls
8y ago
This is a pretty standard linked list question (called cycle detection) – one of the easiest questions on LeetCode. You can use the two-pointer method to just detect if there's a cycle. If you want to find the node that the cycle start