You are viewing a single comment's thread. Return to all comments →
Java:
public static int lonelyInteger(int[] a) { int value = 0; for (int i : a) { value ^= i; } return value; }
Seems like cookies are disabled on this browser, please enable them to open this website
Bit Manipulation: Lonely Integer
You are viewing a single comment's thread. Return to all comments →
Java: