일전에, 재귀함수를 다루면서 조합을 다룬바 있다.(참고 : https://severalpg.tistory.com/20) 조합과 순열이 무엇인지에 대한 개요는 생략하도록하겠다. 바로 재귀함수를 통해 구현된 코드를 실행시키고 결과값을 봐보도록 하자. 조합 import java.util.*; public class Combination { public static void main(String[] args) { int[] arr = {10, 20, 30, 40}; for(int i =1; i