Available question text
Find all indices i (with at least time elements on each side) such that the preceding time elements form a non-increasing sequence and the following time elements form a non-decreasing sequence. This requires checking monotonic runs around each index (commonly solved by precomputing left/right monotonic lengths and filtering in O(n)).
Related questions
Continue with questions that share topics or the same question type.
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
No company association
Leetcode 2100. Find Good Days to Rob the Bank
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source