Unique characters: Difference between revisions

→‎{{header|Go}}: Simplification.
(Added Go)
(→‎{{header|Go}}: Simplification.)
Line 168:
for _, s := range strings {
for _, c := range s {
_, ok := m[c]++
if ok {
m[c]++
} else {
m[c] = 1
}
}
}
9,486

edits