package hackerrank;

import java.util.Scanner;

/**
 * https://www.hackerrank.com/challenges/sansa-and-xor
 */
public class SansaAndXOR {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        // TODO
    }
}

@@ -131,16 +131,107 @@
 ndXOR %7B%0A
+    private static int sansaAndXOR(int%5B%5D array) %7B%0A        // TODO%0A        return 0;%0A    %7D%0A%0A
     publ
@@ -316,28 +316,230 @@
 n);%0A        
-// TODO
+int testCases = in.nextInt();%0A        for (int t = 0; t %3C testCases; t++) %7B%0A            int n = in.nextInt();%0A            int%5B%5D array = new int%5Bn%5D;%0A            System.out.println(sansaAndXOR(array));%0A        %7D
 %0A    %7D%0A%7D%0A

Update Sansa and XOR