Cognite interview question

easy algorithm to detect a word with unique letters