학습 목적- DFS 중에 combination을 활용해야 하는 문제를 익숙하게 풀기 위해서 학습 방법- 쉬운 문제부터 단계적으로 활용해보자 1단계) 기본 조합 문제[문제]N개의 숫자가 주어질 때, 그중에서 M개를 뽑는 모든 조합을 구하시오. (중복 허용x) [입력]N = 4, M = 2 nums = [1, 2, 3, 4] [출력]1 2 1 3 1 4 2 3 2 4 3 4 [코드] public class Main { static int[] nums = {1,2,3,4}; static int[] arr; static int n,m; public static void main(String[] args) throws IOException{ n = 4; ..