The Window Cleaner
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
Each user session is captured as one string of single-character event codes, with `s` holding the codes for one replay. Find the length of the longest stretch within `s` where no event code appears twice.
Summary
Keep it fresh, keep it unique.
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