The Tag Analyst
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
Given two lists of string tags a and b, return a dict with three sorted lists: 'both' (tags in both), 'only_a' (in a but not b), 'only_b' (in b but not a). All three lists are sorted alphabetically.
Summary
Two sets of labels, one analysis.
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