Familiar Ground

A medium Python mock interview question on DataDriven, with an AI interviewer who asks follow-up questions and a hire or no-hire decision at the end.

Domain
Python
Difficulty
medium
Seniority
L3

Interview Prompt

A linked list is stored compactly as an array where `next_pointers[i]` holds the index of node `i`'s successor. Starting at index 0 and following these pointers, return whether the walk ever returns to a node it already visited instead of eventually terminating.

Summary

Keep walking. Sooner or later you may recognize where you're standing.

How This Interview Works

  1. Read the vague prompt (just like a real interview)
  2. Ask clarifying questions to the AI interviewer
  3. Write and run your Python against test cases
  4. Answer the interviewer's follow-up questions, then get a hire or no-hire decision