Ways of Reading
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
- mid
Interview Prompt
A metrics pipeline names each time series by concatenating known segments into one separator-free `key`, so a string like `diskmemio` can be read more than one way. Given the `key` and the `vocab` of known segments, produce every way to split the key into a sequence of segments drawn from the vocabulary.
Summary
One key, no separators, and more than one story it could tell.
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