Unique characters: Difference between revisions
Content added Content deleted
(Added Go) |
(→{{header|Go}}: Simplification.) |
||
Line 168: | Line 168: | ||
for _, s := range strings { |
for _, s := range strings { |
||
for _, c := range s { |
for _, c := range s { |
||
m[c]++ |
|||
if ok { |
|||
m[c]++ |
|||
} else { |
|||
m[c] = 1 |
|||
} |
|||
} |
} |
||
} |
} |