LeetCode - 1480. Running Sum of 1d Array | Day 3 May Challenge

preview_player
Показать описание

May Challenge 2021 - Day 3
1480. Running Sum of 1d Array

TIMESTAMPS
0:00 Intro
0:19 Question & Examples
1:56 Approach 1 - Brute force
2:47 Approach 2 - Linear Traversal
4:24 Code
6:22 Output

🔗 Social Media 🔗

⚡ Please leave a LIKE and SUBSCRIBE for more content! ⚡

⭐ Tags ⭐
- Aditya Mahajan
-
⭐ Hashtags ⭐
#leetcode #1480Leetcode
Рекомендации по теме
Комментарии
Автор

Thanks a lot brother it really helped me a lot, it was so straight to the point 🙏👌

shubhamhire
Автор

Below solution also correct but throw error on leetcode?
nums = list(map(int, input()))
c = 0
l = []
for i in nums:
c = c + i
l.append(c)
print(l)

vaibhavverma