Skip to content

Commit 72b1485

Browse files
committed
docs: update parallel-stream content
1 parent faf10e0 commit 72b1485

File tree

1 file changed

+3
-3
lines changed
  • exercises/practice/parallel-letter-frequency/.approaches/parallel-stream

1 file changed

+3
-3
lines changed

exercises/practice/parallel-letter-frequency/.approaches/parallel-stream/content.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@ Using [`ConcurrentHashMap`][ConcurrentHashMap] ensures that frequency counting a
3838
If there are no strings to process, a validation step avoids unnecessary computation.
3939

4040
To calculate letter frequency, a parallel stream is used.
41+
The [`Character.isAlphabetic`][isAlphabetic] method identifies all characters classified as alphabetic in Unicode, covering characters from various languages like English, Korean, Japanese, Chinese, etc., returning `true`.
42+
Non-alphabetic characters, including numbers, special characters, and spaces, return `false`.
4143

42-
The [`Character.isAlphabetic`][isAlphabetic] method identifies all characters classified as alphabetic in Unicode, covering characters from various languages like English, Korean, Japanese, Chinese, etc., returning true. Non-alphabetic characters, including numbers, special characters, and spaces, return false.
43-
44-
Since we treat uppercase and lowercase letters as the same character (e.g., A and a), characters are converted to lowercase.
44+
Since we treat uppercase and lowercase letters as the same character (e.g., `A` and `a`), characters are converted to lowercase.
4545

4646
After updating letter frequencies, the final map is returned.
4747

0 commit comments

Comments
 (0)