Determine if a string has all unique characters: Difference between revisions
Determine if a string has all unique characters (view source)
Revision as of 17:46, 30 December 2019
, 4 years ago→{{header|JavaScript}}: Update to preamble of draft – folding a string down to a dictionary of indices
(→{{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';
|