I did not understand Subset Sum Easy problem

import java.util.Scanner;

public class Main {

public static boolean subsetSumEasy(int[] v, int i, int sum, boolean included) {
    if (i == v.length) {
        return (sum == 0 && included);
    }

    boolean inc = subsetSumEasy(v, i + 1, sum + v[i], true);
    boolean exc = subsetSumEasy(v, i + 1, sum, included);

    return inc || exc;
}

public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int testCases = sc.nextInt();
    while (testCases-- > 0) {
        int n = sc.nextInt();
        int[] v = new int[n];
        for (int i = 0; i < n; i++) {
            v[i] = sc.nextInt();
        }

        if (subsetSumEasy(v, 0, 0, false)) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }
    }

}

}

Hi @uttamjaish
Please share your doubt using coding blocks ide so that i can debug your code and help you with your error.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.