Your Dashboard
Interview Coaching
Learn
System Design
ML System Design
Code
Behavioral
Salary Negotiation
Interview Guides
Search
⌘K
Get Premium
Leetcode 2701. Consecutive Transactions with Increasing Amounts
Given a time-ordered list of transaction amounts, find the longest contiguous run (or count of runs) where each amount is strictly greater than the previous—possibly under extra constraints such as allowing a limited number of removals/adjustments or responding to multiple queries. This requires detecting and extending increasing contiguous segments efficiently using sliding-window/DP or monotonic techniques to meet tight time/space bounds.
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Comments
Hello Interview Premium
Your account is free and you can post anonymously if you choose.