Product of Array Except Self at Tekion

Medium68.6% acceptance

This problem has 75.0% frequency at Tekion.

Problem Description

Given an integer array `nums`, return _an array_ `answer` _such that_ `answer[i]` _is equal to the product of all the elements of_ `nums` _except_ `nums[i]`. The product of any prefix or suffix of `nums` is **guaranteed** to fit in a **32-bit** integer. You must write an algorithm that runs in `O(...

Read full problem and hints

Topics

Also asked at 43 companies


More Tekion Questions

View all Tekion questions