← Walmart questions

Find connected groups in an array of intersecting linked lists

Filed under Walmart

Given an array of linked lists where nodes may point to nodes in other lists, find the number of connected components in the graph formed by these linked lists.

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 Walmart questions

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