[LeetCode] 238. Product of Array Except Self
·
알고리즘 문제풀이/LeetCode
문제 1차원 배열 nums가 주어졌을 때, 다음을 만족하는 배열 answer를 리턴하라. answer[i]는 nums[i]를 제외한 요소의 모든 곱이다. https://leetcode.com/problems/product-of-array-except-self/ Product of Array Except Self - LeetCode Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com 풀이 나누기 연산을 사용하지 않는 조건이기 때문에, 다른 방법을 생각해야 한다. 각 answer[i] ..