Loading...

The Blind Multiplier

A medium Python interview practice problem on DataDriven. Write and execute real python code with instant grading.

Domain
Python
Difficulty
medium
Seniority
mid, senior

Problem

A numerical pipeline needs to build an output array where each position contains the product of all other elements in the input. Given a list of integers, return a new list where output[i] equals the product of all elements in the input except input[i]. You may not use division.

Practice This Problem

Solve this Python problem with real code execution. DataDriven runs your Python code in a sandboxed Docker environment and grades it instantly.