Objective:
Solve all Medium problems in Range Queries → Prefix Sum and add solutions in a consistent, well-commented format.
Folder:
algo/rangeQueries/prefixSum/soln/your_ name/
(If soln/ doesn't exist, create it.)
File naming:
Solution1.cpp, Solution2.cpp, Solution3.cpp, …
or any other language
Each solution must include (inside the .cpp as comments):
Short problem statement
Approach using prefix sums
Time & space complexity
Example I/O (optional)
Clean, compiling C++ code