Jump to content

Unique characters: Difference between revisions

→‎{{header|jq}}: note on efficiency
(→‎{{header|jq}}: note on efficiency)
Line 189:
{{works with|jq}}
'''Works with gojq, the Go implementation of jq'''
The following "bag-of-words" solution is quite efficient as it takes advantage of the fact that jq implements JSON objects as a hash.
<lang jq>
# bag of words
2,482

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.