Character Mapping
Asked at Beaconfire · Coding Questions · Difficulty: Easy · Last asked Jul 15, 2026
Given a string, output a string formed by the indices of the first occurrence of each character in the input string. All characters are lowercase letters, and the total number of characters does not exceed 1000.
Loading the problem…