Loading interview...
The Dynamic Container
A hard Python mock interview question on DataDriven. Practice with AI-powered feedback, real code execution, and a hire/no-hire decision.
- Domain
- Python
- Difficulty
- hard
- Seniority
- mid, senior
Interview Prompt
Implement an ArrayList class that behaves like a dynamic array. It should support append(val) to add an element, get(index) to retrieve an element, size() to return the current count, and remove(index) to delete an element by position. Internally, double the capacity when the array is full.
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