DEV Community

loading...

Discussion on: Solving "Sum All Numbers in a Range" / freeCodeCamp Algorithm Challenges

Collapse
nam288 profile image
Nam H. Le

No. There is no problem in your methodology. But I think you assumed that arr[0] <= arr[1] ? Have your read description carefully?

Forem Open with the Forem app