Find Next Greater Element in Sorted Array
Given a sorted array of integers and a target value K, find the smallest element in the array that is greater than K. Return -1 if no such element exists.
Asked at:
Meta
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Early January, 2026
Meta
Senior
Hello Interview Premium
Your account is free and you can post anonymously if you choose.