News for hackers. Stuff that matters.
Re:Leetcode has taught me that I'm a bad engineer by Fattestmoron on Wednesday January 05, 2022 @09:15PM (#29818288)
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.

There are no comments on this comment yet.