package com.cool.week_match.week415; /** * Created with IntelliJ IDEA. * * @Author: Cool * @Date: 2024/09/15/21:43 * @Description: */ public class Q1 { public int[] getSneakyNumbers(int[] nums) { int[] res=new int[2]; int[] arr=new int[nums.length-2]; int index=0; for(int num:nums){ arr[num]++; } for(int i=0;i