Sha256: 3ffee7092edeb9293e01afc6ba8118b93005f6afd3c5422df1039065b55e5b4c

Contents?: true

Size: 416 Bytes

Versions: 1070

Compression:

Stored size: 416 Bytes

Contents

# Word Count

Given a phrase, count the occurrences of each word in that phrase.

For example for the input `"olly olly in come free"`

```plain
olly: 2
in: 1
come: 1
free: 1
```

## Source

This is a classic toy problem, but we were reminded of it by seeing it in the Go Tour.

## Submitting Incomplete Solutions
It's possible to submit an incomplete solution so you can see how others have completed the exercise.

Version data entries

1,070 entries across 184 versions & 1 rubygems

Version Path
trackler-2.2.1.164 tracks/nim/exercises/word-count/README.md
trackler-2.2.1.164 tracks/perl5/exercises/word-count/README.md
trackler-2.2.1.164 tracks/purescript/exercises/word-count/README.md
trackler-2.2.1.163 tracks/elisp/exercises/word-count/README.md
trackler-2.2.1.163 tracks/fsharp/exercises/word-count/README.md
trackler-2.2.1.163 tracks/clojure/exercises/word-count/README.md
trackler-2.2.1.163 tracks/nim/exercises/word-count/README.md
trackler-2.2.1.163 tracks/perl5/exercises/word-count/README.md
trackler-2.2.1.163 tracks/purescript/exercises/word-count/README.md
trackler-2.2.1.162 tracks/clojure/exercises/word-count/README.md
trackler-2.2.1.162 tracks/elisp/exercises/word-count/README.md
trackler-2.2.1.162 tracks/fsharp/exercises/word-count/README.md
trackler-2.2.1.162 tracks/perl5/exercises/word-count/README.md
trackler-2.2.1.162 tracks/purescript/exercises/word-count/README.md
trackler-2.2.1.162 tracks/nim/exercises/word-count/README.md
trackler-2.2.1.161 tracks/fsharp/exercises/word-count/README.md
trackler-2.2.1.161 tracks/elisp/exercises/word-count/README.md
trackler-2.2.1.161 tracks/nim/exercises/word-count/README.md
trackler-2.2.1.161 tracks/perl5/exercises/word-count/README.md
trackler-2.2.1.161 tracks/purescript/exercises/word-count/README.md