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 hintsTopics
Also asked at 43 companies
More Tekion Questions
Count the Number of Infection SequencesHardTrapping Rain WaterHardBest Time to Buy and Sell Stock IIIHardSplit Array Largest SumHardTwo SumEasy
View all Tekion questions