Objective:
Solve the problem given
Folder:
Problems/Mathematics/Day-03/sol/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
PLEASE UPLOAD YOUR SUBMISSION LINK TOO AS COMMENTS IN THE .cpp FILE