Hacker News new | ask | show | jobs
by Fattestmoron 1621 days ago
Funny thing is I had an interview some years ago and he asked me about cycle detection, so I gave the basic set approach, then added the tortoise and hare as a memory free solution.

It immediately made him uncomfortable and I didn't get the job, because he didn't like the tortoise and hare solution not being as "tractable" as the set solution.

Damned if you do, damned if you don't.