<p>all things said and done, the funniest interview answer i&#39;ve given was for that old classic:</p><p>&quot;how do you find a loop in a linked list&quot;</p><p>the answer is simple: free every item in the list, and if there&#39;s a segfault, there&#39;s a loop</p>
Reply