Skip to content

Commit fbb7525

Browse files
committed
update introduction.md
1 parent 01cbae2 commit fbb7525

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exercises/practice/parallel-letter-frequency/.approaches/introduction.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ One approach is to use [`Stream.parallelStream`][stream], and another involves u
77

88
To count occurrences of items, a map data structure is often used, though arrays and lists can work as well.
99
A [`map`][map], being a key-value pair structure, is suitable for recording frequency by incrementing the value for each key.
10-
If the data being counted has a limited range (e.g., characters or integers), an `int[] array` or [`List<Integer>`][list] can be used to record frequencies.
10+
If the data being counted has a limited range (e.g., `Characters` or `Integers`), an `int[] array` or [`List<Integer>`][list] can be used to record frequencies.
1111

1212
Parallel processing typically takes place in a multi-[`thread`][thread] environment.
1313
The Java 8 [`stream`][stream] API provides methods that make parallel processing easier, including the `parallelStream()` method.

0 commit comments

Comments
 (0)