31/39
Part 7 of 7 · Follow-upsLearn

What if either list may contain a cycle?

One Airbnb candidate reported this version (1 report), and it's the practice problem's last level. Find each list's loop with loop_start first, then sort out five cases:

Predict

One list ends in None, and the other loops. Can they share a node?

Pick an answer above to see the rest