Skip to content

Topic: Segment Tree

53 problems
TitleStatusDifficulty
The Skyline Problem—Hard
Range Sum Query - Mutable—Medium
Count of Smaller Numbers After Self—Hard
Count of Range Sum—Hard
Queue Reconstruction by Height—Medium
Reverse Pairs—Hard
Number of Longest Increasing Subsequence—Medium
Falling Squares—Hard
Range Module—Hard
My Calendar Iread—Medium
My Calendar II—Medium
My Calendar III—Hard
Rectangle Area II—Hard
Online Majority Element In Subarray—Hard
Count Number of Teams—Medium
Minimum Possible Integer After at Most K Adjacent Swaps On Digits—Hard
Find a Value of a Mysterious Function Closest to Target—Hard
Fancy Sequence—Hard
Create Sorted Array through Instructions—Hard
Delivering Boxes from Storage to Ports—Hard
Range Frequency Queries—Medium
Count Good Triplets in an Array—Hard
Longest Substring of One Repeating Character—Hard
Count Integers in Intervals—Hard
Booking Concert Tickets in Groupsread—Hard
Longest Increasing Subsequence II—Hard
Longest Uploaded Prefix—Medium
Number of Pairs Satisfying Inequality—Hard
Handling Sum Queries After Update—Hard
Make Array Emptyread—Hard
Maximum Sum Queries—Hard
Subarrays Distinct Element Sum of Squares II—Hard
Maximum Balanced Subsequence Sum—Hard
Find Building Where Alice and Bob Can Meetread—Hard
Distribute Elements Into Two Arrays II—Hard
Minimum Sum of Values by Dividing Arrayread—Hard
Block Placement Queries—Hard
Maximum Sum of Subsequence With Non-adjacent Elements—Hard
Find Subarray With Bitwise OR Closest to K—Hard
Peaks in Array—Hard
Number of Subarrays With AND Value of K—Hard
Minimum Number of Valid Strings to Form Target I—Medium
Minimum Number of Valid Strings to Form Target II—Hard
Maximum Area Rectangle With Point Constraints I—Medium
Maximum Area Rectangle With Point Constraints II—Hard
Maximize Subarray Sum After Removing All Occurrences of One Element—Hard
Count Non-Decreasing Subarrays After K Operations—Hard
Separate Squares II—Hard
Fruits Into Baskets II—Easy
Maximize Subarrays After Removing One Conflicting Pair—Hard
Page 1 of 2