Daily challenge for 2026-03-12
436. Find Smallest Greater Element
Given a sorted array of unique integers nums and a target value target, find the smallest element in the array that is strictly greater than the target. If no such element exists, return -1.
Example:Input: nums = [1, 3, 5, 8], target = 4Output: 5
Run this challenge interactively in Python or JavaScript when the app loads.