• + 1 comment

    static int smallestSizeSubsequence(int n, int[] a) { // Return the size of the smallest subsequence to remove if(n==1) return -1; int sum=0; for(int i=0;i