Search
⌘K

Leetcode 744. Find Smallest Letter Greater Than Target

Given a sorted array of lowercase letters and a target letter, return the smallest character strictly greater than the target, or wrap around to the first element if none exists. This is a classic "next greater element" search on a sorted array, typically solved with binary search.

Asked at:

Meta


Question Timeline

See when this question was last asked and where, including any notes left by other candidates.

Mid October, 2025

Meta

Staff

https://leetcode.com/problems/find-smallest-letter-greater-than-target/description/ A variation of this. Solved using binary search

Comments

Your account is free and you can post anonymously if you choose.