Determine if a string has all unique characters: Difference between revisions
Content deleted Content added
→{{header|Haskell}}: Edit to preamble of alternative draft (fold string to Map) |
m →{{header|JavaScript}}: Update to preamble of draft – folding a string down to a dictionary of indices |
||
Line 783:
Or, as an alternative to sorting and grouping – folding a string down to a dictionary of indices:
<lang javascript>(() => {
'use strict';
|