← VMware questions

Find and Remove Loop in Linked List

Filed under VMware · Also reported at Goldman Sachs

Given the head of a linked list, determine if the linked list contains a cycle (loop). If a loop exists, write code to find the start of the loop and remove the loop by breaking the backward…

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related VMware questions

Collected from public candidate posts and coding forums. Updated Nov 2026.