Tag: segment-tree
- Amount of New Area Painted Each Day
- Block Placement Queries
- Booking Concert Tickets in Groups
- Count Good Triplets in an Array
- Count Integers in Intervals
- Count Non-Decreasing Subarrays After K Operations
- Count Number of Teams
- Count of Range Sum
- Count of Smaller Numbers After Self
- Count Subarrays With More Ones Than Zeros
- Count the Number of K-Big Indices
- Create Sorted Array through Instructions
- Delivering Boxes from Storage to Ports
- Distribute Elements Into Two Arrays II
- Falling Squares
- Fancy Sequence
- Find a Value of a Mysterious Function Closest to Target
- Find Building Where Alice and Bob Can Meet
- Find Subarray With Bitwise OR Closest to K
- Find the Index of Permutation
- Fruits Into Baskets II
- Fruits Into Baskets III
- Handling Sum Queries After Update
- K Empty Slots
- Longest Increasing Subsequence II
- Longest Substring of One Repeating Character
- Longest Uploaded Prefix
- Make Array Empty
- Maximize Active Section with Trade II
- Maximize Subarray Sum After Removing All Occurrences of One Element
- Maximize Subarrays After Removing One Conflicting Pair
- Maximum Area Rectangle With Point Constraints I
- Maximum Area Rectangle With Point Constraints II
- Maximum Balanced Subsequence Sum
- Maximum Profitable Triplets With Increasing Prices I
- Maximum Profitable Triplets With Increasing Prices II
- Maximum Sum of Subsequence With Non-adjacent Elements
- Maximum Sum Queries
- Minimum Number of Valid Strings to Form Target I
- Minimum Number of Valid Strings to Form Target II
- Minimum Possible Integer After at Most K Adjacent Swaps On Digits
- Minimum Sum of Values by Dividing Array
- My Calendar I
- My Calendar II
- My Calendar III
- Number of Longest Increasing Subsequence
- Number of Pairs Satisfying Inequality
- Number of Subarrays With AND Value of K
- Online Majority Element In Subarray
- Peaks in Array
- Queue Reconstruction by Height
- Range Frequency Queries
- Range Module
- Range Sum Query 2D - Mutable
- Range Sum Query - Mutable
- Rectangle Area II
- Reverse Pairs
- Separate Squares II
- Subarrays Distinct Element Sum of Squares II
- The Skyline Problem