Topics

20

Duration

40 Weeks

Progress

0/20

Learning Progress0%
Competitive Programming Roadmap

Prefix Sums & Difference Arrays

Learning Path

Follow these concepts in order to master this topic.

1
Introduction to Prefix Sums
2
Building Prefix Sum Arrays
3
Range Sum Queries
4
2D Prefix Sums
5
Prefix XOR
6
Prefix GCD
7
Prefix Minimum
8
Prefix Maximum
9
Suffix Arrays
10
Difference Arrays
11
Range Update Queries
12
Offline Range Queries
13
Coordinate Compression
14
Sweep Line Basics
15
Prefix Hashing (Introduction)
16
Applications in Competitive Programming
17
Common Prefix Sum Patterns
18
Optimization Techniques

Video Courses

Recommended free video courses.

Practice Websites

Practice what you've learned.

Projects

Apply what you've learned by building real projects.

Build a Prefix Sum Utility Library
Beginner
Implement 2D Prefix Sum Algorithms
Intermediate
Solve 50 Range Query Problems
Advanced

Tools

Recommended tools for this topic.