Pregunta de entrevista de Cognyte

Given a string - write an algorithm that will check that all chars in the string are unique (no duplicate)

Respuesta de la entrevista

Anónimo

5 ago 2021

I did it in O(N) using a HashMap