Loading interview...

The Placement Fixer

A medium Python mock interview question on DataDriven. Practice with AI-powered feedback, real code execution, and a hire/no-hire decision.

Domain
Python
Difficulty
medium
Seniority
mid, senior

Interview Prompt

A data pipeline validation tool checks that integer sequences are stored in their correct positions for deduplication purposes. Given a list containing integers in the range 1 to n with possible duplicates, write a function that uses cyclic sort to place each number at index (value - 1) and returns the sorted list.

How This Interview Works

  1. Read the vague prompt (just like a real interview)
  2. Ask clarifying questions to the AI interviewer
  3. Write your python solution with real code execution
  4. Get instant feedback and a hire/no-hire decision