The Window Cleaner
A medium Python interview practice problem on DataDriven. Write and execute real python code with instant grading.
- Domain
- Python
- Difficulty
- medium
- Seniority
- L4
Problem
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.
Practice This Problem
Solve this Python problem with real code execution. DataDriven runs your Python code in a real environment and grades it automatically.