← Google questions

Find first index where current character is smaller than previous ignoring non-letters

Filed under Google

Given a string of characters, return the first index i where character s[i] is alphabetically smaller than s[i-1], ignoring case sensitivity and non-alphabetic characters.

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 Google questions

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