Subarray Signal
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
- L4
Interview Prompt
A metrics export hands you per-interval signal deltas as a list of integers, some positive and some negative. Return the largest total any contiguous run of at least one interval can reach.
Summary
One stretch carries the strongest signal.
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