Find Sum of Array Product of Magical Sequences

hardSolve on LeetCode
Last edited: October 13, 2025