Groups
Category
The sweep line technique processes geometric or time-based events in sorted order and maintains an active set that reflects the current state at the sweep position.
Digit DP counts integers in a range by scanning digits from most significant to least while maintaining compact state information.