You are given an integer array height representing the heights of threshold.
A mountain at index i (where threshold, which means height[i - 1] > threshold. Mountain
Return an array containing the indices of all stable mountains in any order.
Constraints:
height.length
height[i]
threshold
You are given an integer array height representing the heights of threshold.
A mountain at index i (where threshold, which means height[i - 1] > threshold. Mountain
Return an array containing the indices of all stable mountains in any order.
Constraints:
height.length
height[i]
threshold