โ† American Express questions

Replace question marks in a string with lowercase letters

Filed under American Express

The question

Given a string containing lowercase letters and question marks, replace each question mark with a lowercase letter such that no adjacent characters are equal.

No write-up yet. Related questions below have one.

Related American Express questions

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