This question evaluates practical Python coding skills, the ability to pose clarifying questions, enumerate and reason about edge cases, produce clean readable code, and summarize time and space complexity along with a minimal test plan within a timed data engineering exercise.

In a 15-minute coding round, implement a small Python function or class to solve a well-scoped problem within about 5 minutes of coding.