Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.
Looping over string characters only once
func firstNotRepeatingCharacter(s: String) -> Character {
var occurrences: [Character:Int] = [:]
s.forEach{ occurrences[$0] = (occurrences[$0] ?? 0) + 1}
return s.first{ occurrences[$0] == 1 } ?? "_"
}
Avez-vous besoin d'aide pour créer un CV ayant les mots-clés recherchés par les employeurs?