You are viewing a single comment's thread. Return to all comments →
I didn't get the return statement, sorry new to Java 8. Could you please explain?
return IntStream.of(letters).map( i -> Math.abs(i)).sum();
Seems like cookies are disabled on this browser, please enable them to open this website
Strings: Making Anagrams
You are viewing a single comment's thread. Return to all comments →
I didn't get the return statement, sorry new to Java 8. Could you please explain?
return IntStream.of(letters).map( i -> Math.abs(i)).sum();