The Log Decoder
A easy Python mock interview question on DataDriven. Practice with AI-powered feedback, real code execution, and a hire/no-hire decision.
- Domain
- Python
- Difficulty
- easy
- Seniority
- L4
Interview Prompt
You're ingesting raw application logs where each line in `lines` is a run of space-separated `key=value` tokens. Turn each line into a dict mapping its keys to their string values, one dict per line in the same order, and leave every value as a string even when it contains an `=`.
Summary
Every line holds a secret.
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