Tracks
/
Java
Java
/
Exercises
/
Parallel Letter Frequency
Parallel Letter Frequency

Parallel Letter Frequency

Medium

Instructions

Count the frequency of letters in texts using parallel computation.

Parallelism is about doing things in parallel that can also be done sequentially. A common example is counting the frequency of letters. Employ parallelism to calculate the total frequency of each letter in a list of texts.

As a stretch goal, consider if your implementation will work for characters with diacritics or accents. For example, such solutions should not consider e and ë the same character. An example text for this case is Wilhelmus, the Dutch national anthem.

Edit via GitHub The link opens in a new window or tab
Java Exercism

Ready to start Parallel Letter Frequency?

Sign up to Exercism to learn and master Java with 25 concepts, 146 exercises, and real human mentoring, all for free.

Deep Dive into Parallel Letter Frequency!

We explore the differences between concurrency and parallelism, looking at different approaches taken by languages such as JavaScript, Go, Elixir and Rust.