Determine if a string has all unique characters: Difference between revisions
Content deleted Content added
m →Python :: Functional: Inserted a variant fusion of filtering and min to one fold. |
|||
Line 1,367: | Line 1,367: | ||
reduce( |
reduce( |
||
positionRecord, |
positionRecord, |
||
enumerate(s), |
enumerate(s), |
||
{} |
|||
).items(), |
).items(), |
||
Nothing() |
Nothing() |