This is really easy problem if we are aware about prefix sum.
💻 TABLE OF CONTENT 💻
⌨️ Understanding question
⌨️ Brainstorming solution
⌨️ Coding brute force
⌨️ Coding better solution.
#dsa #coding #leetcode #problemsolving #python
⌨️ Contact with me if any ...
LinkedIn: / akashpawar031