Leetcode - Running Sum of 1d Array (Python)

preview_player
Показать описание
May 2021 Leetcode Challenge
Leetcode - Running Sum of 1d Array #1480
Difficulty: Easy
Рекомендации по теме
Комментарии
Автор

Felt like the professor in college say "Here it is, easy right?" Could use some work on the explanation of your solution

gerryramosftw
Автор

"Here's the answer with no explaination of the iteration occurring" AKA learn nothing, just get the answer.

TheyCensorUsHere
Автор

@timc3406 what about the input constraints.?

naveenreddyindluru
Автор

This doesn't keep going through the whole list for me. It adds the first two then stops. 😩

CharliesOpus
Автор

it's kinda weird this is like the first actual 'recommended' problem on the platform. I'm in my second year of CS and did like a total of 3 or 4 array problems in my python class. It was like "okay here's this thing, moving on!" Ugh.

CharliesOpus
Автор

They shouldn't have us return anything for this problem if they want us to do it in place XD

janmichaelaustria