스택 한쪽 끝에서만 자료를 넣고(push) 뺄(pop) 수 있는 자료구조 스택은 맨 위에서만 push, pop할 수 있다. =LIFO(Last In First Out)
나머지 최대공약수 GCD
Dynamic Programming 동적 계획법