Skip to content

Issue - Solve All the easy problems in algos/range_queries/difference Array #109

@ScorchedPearl

Description

@ScorchedPearl

Objective:
Solve all Easy problems in Range Queries → difference Array and add solutions in a consistent, well-commented format.

Folder:
algo/rangeQueries/differenceArray/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 and difference array
Time & space complexity
Example I/O (optional)
Clean, compiling C++ code

Metadata

Metadata

Assignees

No one assigned

    Labels

    Points: 10good first issueGood for newcomersopen-for-allAny one can work on it without getting assigned, every PR can merge

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions