Commit d737987
authored
Proposing different approach to sum numbers
- Updated MediumNumbersProblemSolution.java
There is a boxing cost while doing arithmetic operations on Wrapper types. Although it wouldn't make much difference for this learning exercise but just wanted to propose this small change as many new developers will read this guide.1 parent ef665be commit d737987
File tree
1 file changed
+1
-1
lines changed- src/test/java/com/github/streams/practice/b_medium/numbers
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| |||
0 commit comments