자바 | 프로그래머스 | 타겟 넘버
https://programmers.co.kr/learn/courses/30/lessons/43165?language=java class Solution { static int answer; public int solution(int[] numbers, int target) { answer = 0; dfs(0, 0, 0, numbers.length, numbers, target); return answer; } void dfs(int cnt, int start, int res, int N, int[] numbers, int target){ if (cnt==N){ if (res==target){ answer++; } return; } for (int i=start; i