Loading interview...

The Encoded Signal

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

Our telemetry wire format encodes letter frequencies in a compact string representation. Write a function called decode_frequency that parses this encoding and returns a 26-element list for a through z. Digits 0-9 map to a-j directly. A two-digit number followed by '#' maps to k(10) through z(26). A number in parentheses after a character indicates repetitions; without parentheses, the count is 1.

How This Interview Works

  1. Read the vague prompt (just like a real interview)
  2. Ask clarifying questions to the AI interviewer
  3. Write your python solution with real code execution
  4. Get instant feedback and a hire/no-hire decision