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
- Read the vague prompt (just like a real interview)
- Ask clarifying questions to the AI interviewer
- Write and run your Python against test cases
- Answer the interviewer's follow-up questions, then get a hire or no-hire decision