Skip to content

Topic: Segment Tree

53 problems
TitleStatusDifficulty
The Skyline ProblemHard
Range Sum Query - MutableMedium
Count of Smaller Numbers After SelfHard
Count of Range SumHard
Queue Reconstruction by HeightMedium
Reverse PairsHard
Number of Longest Increasing SubsequenceMedium
Falling SquaresHard
Range ModuleHard
My Calendar IreadMedium
My Calendar IIMedium
My Calendar IIIHard
Rectangle Area IIHard
Online Majority Element In SubarrayHard
Count Number of TeamsMedium
Minimum Possible Integer After at Most K Adjacent Swaps On DigitsHard
Find a Value of a Mysterious Function Closest to TargetHard
Fancy SequenceHard
Create Sorted Array through InstructionsHard
Delivering Boxes from Storage to PortsHard
Range Frequency QueriesMedium
Count Good Triplets in an ArrayHard
Longest Substring of One Repeating CharacterHard
Count Integers in IntervalsHard
Booking Concert Tickets in GroupsreadHard
Longest Increasing Subsequence IIHard
Longest Uploaded PrefixMedium
Number of Pairs Satisfying InequalityHard
Handling Sum Queries After UpdateHard
Make Array EmptyreadHard
Maximum Sum QueriesHard
Subarrays Distinct Element Sum of Squares IIHard
Maximum Balanced Subsequence SumHard
Find Building Where Alice and Bob Can MeetreadHard
Distribute Elements Into Two Arrays IIHard
Minimum Sum of Values by Dividing ArrayreadHard
Block Placement QueriesHard
Maximum Sum of Subsequence With Non-adjacent ElementsHard
Find Subarray With Bitwise OR Closest to KHard
Peaks in ArrayHard
Number of Subarrays With AND Value of KHard
Minimum Number of Valid Strings to Form Target IMedium
Minimum Number of Valid Strings to Form Target IIHard
Maximum Area Rectangle With Point Constraints IMedium
Maximum Area Rectangle With Point Constraints IIHard
Maximize Subarray Sum After Removing All Occurrences of One ElementHard
Count Non-Decreasing Subarrays After K OperationsHard
Separate Squares IIHard
Fruits Into Baskets IIEasy
Maximize Subarrays After Removing One Conflicting PairHard
Page 1 of 2