You are viewing a single comment's thread. Return to all comments →
Java8: Arrays.stream(a).reduce(0, (x,y) -> x^y);
Arrays.stream(a).reduce(0, (x,y) -> x^y);
Seems like cookies are disabled on this browser, please enable them to open this website
Lonely Integer
You are viewing a single comment's thread. Return to all comments →
Java8:
Arrays.stream(a).reduce(0, (x,y) -> x^y);