Progress0 / 20
Current question: 5 of 20
Product of Array Except Self
Array•Medium
Facebook
Amazon
Google
Microsoft
Mark as Solved
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].
Code Editor
Solution
Related Questions
- Two Sum(Easy)
- Best Time to Buy and Sell Stock(Easy)
- Contains Duplicate(Easy)
Video Solutions
Product of Array Except Self - Detailed Explanation
Discussion
Alice2 hours ago
Great question! I found the two-pointer approach helpful.
Bob1 hour ago
I'm stuck on the edge case. Any hints?