’How do you detect a cycle in a singly linked list?” I found that funny because when I interviewed for my current job, I was asked that question, and I had seen the answer while googling interview questions the night before!
’How do you detect a cycle in a singly linked list?” I found that funny because when I interviewed for my current job, I was asked that question, and I had seen the answer while googling interview questions the night before!