Pregunta de entrevista de Amazon

Find minimum index for unique characters.

Respuesta de la entrevista

Anónimo

19 oct 2021

Create a dictionary to store indices of each character. If there is only one index stored, that character is unique. Find the minimum of all unique characters.