You are viewing a single comment's thread. Return to all comments →
//C#
public static int lonelyinteger(List a) {
int unique = 0; foreach (int n in a ) { unique ^= n; } return unique; }
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 →
//C#
public static int lonelyinteger(List a) {