Is It Really The Worst Interview Question?
Posted on So, 2014-07-27 in thoughts • Tagged with thoughts, programming, software-engineering
Recently I read a blog post about the supposedly worst programming interview question. So here is the question:
Write a function that can detect a cycle in a linked list.
Basically the guy that asked the question was testing of whether you've heard of Floyd's cycle-finding algorithm (aka. the tortoise …
Continue reading