Function to find single occurrence element
public static int findunique ( int [ ] a , int k ) { int res = 0 ; for ( int i = 0 ; i < 32 ; i ++ ) { int p = 0 ; for ( int j = 0 ; j < a . Length ; j ++ ) {