DEV Community

I Want To Learn Programming
I Want To Learn Programming

Posted on

Code Challenge of the Day: Product of array except self (hard)

Return a list where out[i] is the product of all elements except numsi.
Write product_except_self(nums).

Starter:

def product_except_self(nums):
    # TODO
    pass
Enter fullscreen mode Exit fullscreen mode

Solve it interactively in your browser (no setup), check your answer instantly, and keep your daily streak going on IWTLP: https://iwtlp.com/challenge

Top comments (0)