# find unique number among array

Given an array, find the unique number which shows only once whereas other numbers show 3 times. Total Code: import java.util.*; class findUniq { public static int findUniq(int[] arr) { int[] tmp = new int[32]; for(int i = 0; i< arr.length; i++) { for(int j = 31; j >= 0 && arr[i] != 0; j–) […]