Question d’entretien chez Neustar

In coding they asked to remove duplicates from a string eg WelComeToNeustar -> WelComTNusar

Réponses aux questions d'entretien

Utilisateur anonyme

25 nov. 2019

I used linkedhashmap remove the duplicates and jus printed the contents in hashmap

Utilisateur anonyme

4 avr. 2021

s='WelComeToNeustar' q='' for i in s: if i.upper() in q or i.lower() in q: continue q += i print(q)