DataDriven
LearnPracticeInterviewDiscussDailyJobs

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
L4

Interview Prompt

Decode a telemetry encoding for 26 letter frequencies (a..z). Rules: digits 0-9 map to positions a-j; '#' followed by a digit (NN#) means positions k-z (24#=x, 26#=z). '(n)' denotes multi-digit count n enclosed. Return a 26-element integer list of counts for each letter. (The test pattern gives '1(2)2(3)324#26#(5)': a=2, b=3, c=1, d..j=0, x=1, z=5.)

Summary

The encoding is hiding multipliers. Decode it.

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

Related

  • All Mock Interviews
  • Practice Mode (untimed)
  • Python Interview Questions
  • Data Engineering Interview Prep Guide
  • Practice Problems
  • Daily Challenge