Microsoft Interview Question

In interview the question was asked about detecting a loop in the linked list. Also questions were asked from data structures