lots of exercises in java... from https://github.com/exercism/java
Stuart Kent eacc900aa4 Regenerate READMEs 8 gadus atpakaļ
..
.meta Add exercise parallel-letter-frequency 8 gadus atpakaļ
src Add exercise parallel-letter-frequency 8 gadus atpakaļ
README.md Regenerate READMEs 8 gadus atpakaļ
build.gradle Add exercise parallel-letter-frequency 8 gadus atpakaļ

README.md

Parallel Letter Frequency

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. Create a function that returns the total frequency of each letter in a list of texts and that employs parallelism.

Java Tips

Single-threaded (non-concurrent) solutions can pass all tests but the last. Your solution will be tested for concurrency by submitting it as a Runnable to an ExecutorService. Your solution must leverage multiple Threads to pass the final test.

Java documentation on parallel streams may provide some help.

Running the tests

You can run all the tests for an exercise by entering

$ gradle test

in your terminal.

Submitting Incomplete Solutions

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