Find the product of all elements in a list.
MediumProblem Statement
Find the product of all elements in a list.
Sample Input
[1, 2, 3, 4]
Sample Output
24
Limits
Time: 2s · Memory: 256 MB
Find the product of all elements in a list.
[1, 2, 3, 4]
24
Time: 2s · Memory: 256 MB