Speed
Practice
3.7 (193 votes)
Algorithms
Approved
Easy
Implementation
Open
Code Editor

Please login to use the editor

You need to be logged in to access the code editor

Loading...

Please wait while we load the editor

Loading...

Submissions
Please login to view your submissions
Similar Problems
Points:20
95 votes
Tags:
EasyImplementation
Points:20
58 votes
Tags:
ArraysData StructuresEasyOne-dimensionalPartial SumPrefix sumSegment Trees
Points:20
75 votes
Tags:
1-D ArrayArraysData StructuresEasy
Editorial

Login to unlock the editorial