← Adobe questions
CodingReported in a candidate post, Jul 2025

Alphabetically first and last substrings starting with a vowel and ending with a consonant

Filed under Adobe

Given a lowercase string s, consider every substring that starts with a vowel (a, e, i, o, u) and ends with a consonant. Return the alphabetically (lexicographically) smallest and largest such…

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Adobe questions

Collected from public candidate posts and coding forums. Updated Nov 2026.