We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca2d2bc commit f560ec7Copy full SHA for f560ec7
exercises/practice/hamming/.approaches/intstream-reduce/content.md
@@ -28,7 +28,7 @@ public class Hamming {
28
```
29
30
This approach starts by importing `java.util.stream.IntStream`.
31
-It then defines a [`private`][private] [`final`][final] `long` variable to keep track of the difference between the strands.
+It then defines a [`private`][private] [`final`][final] `int` variable to keep track of the difference between the strands.
32
33
After the validation code, the real work is done by the [`IntStream`][intstream].
34
It uses its [`range()`][range] method to iterate from `0` up to but not including the length of the left strand.
0 commit comments