Sobes.tech
Intern — Middle

Finding the first non-repeating number in an array

livecode

Task condition

An array of integers is given, find the first element that occurs only once.

public class Main{
    public static void main(String[] args){
        
        int[] numbers = {9, 4, 9, 6, 7, 4, 5};
    }
}