NVIDIA Interview Question

How would you detect a loop in a singly linked list in O(n) time?

Interview Answer

Anonymous

Jun 19, 2018

floyd algorithm

1