Available question text
Find indices i < j < k with nums[i] < nums[j] and nums[k] < nums[j] (so nums[j] is a "peak") and return the minimum possible sum nums[i]+nums[j]+nums[k], or -1 if none exists. Equivalent view: for each candidate peak j, pick the smallest qualifying left and right elements less than nums[j] to minimize the total.
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 2908. Minimum Sum of Mountain Triplets I
Interview date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source