The Blind Multiplier

A medium Python mock interview question on DataDriven, with an AI interviewer who asks follow-up questions and a hire or no-hire decision at the end.

Domain
Python
Difficulty
medium
Seniority
L4

Interview Prompt

A processing pipeline's stages each apply an integer scaling factor, listed in order in `nums`. For every stage, return the combined factor of all the other stages, without using division and in time linear in the number of stages.

Summary

Compute the result of everything around you - without seeing yourself.

How This Interview Works

  1. Read the vague prompt (just like a real interview)
  2. Ask clarifying questions to the AI interviewer
  3. Write and run your Python against test cases
  4. Answer the interviewer's follow-up questions, then get a hire or no-hire decision