Pregunta de entrevista de SAP

Receive a string, return the first letter which appears once.

Respuesta de la entrevista

Anónimo

13 jul 2022

Iterate through string, add chars to Hashmap that counts the amount of times a char appeared. Iterate through the String again and see which char appeared once using the Hashmap.