In the first question, we were given an array of integers in which any number can be repeated any number of times except one. We have to find the unique number. code example
Example: Given an array of integers, every element appears thrice except for one which occurs once.
// declaring an array double[] data; // allocating memory data = new Double[5];