The Long Way Around
A easy Python mock interview question on DataDriven. Practice with AI-powered feedback, real code execution, and a hire/no-hire decision.
- Domain
- Python
- Difficulty
- easy
- Seniority
- L4
Interview Prompt
A batch job runs in a restricted runtime where the ordering built-ins are gone: no `sorted()`, no `list.sort()`, and no `min()` or `max()` to reach for. Given a list of integers `nums`, return them ordered smallest to largest.
Summary
Anyone can call the function. Order it by hand.
How This Interview Works
- Read the vague prompt (just like a real interview)
- Ask clarifying questions to the AI interviewer
- Write your python solution with real code execution
- Get instant feedback and a hire/no-hire decision