Search
⌘K
Leetcode 2626. Array Reduce Transformation
Perform a sequential reduction (left fold) over nums by applying fn(accumulator, current) from left to right starting with init and return the final accumulator (return init if nums is empty); do this without using Array.reduce.
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Comments
Hello Interview Premium
Your account is free and you can post anonymously if you choose.