![[백준 알고리즘] 1974번 스택 수열 (Python)](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2Fbe8MOu%2FbtqCFxnHx2d%2FyhOSjJoJtCb4ws7c3YFut0%2Fimg.png)
언어, 알고리즘 공부/백준2020. 3. 13. 20:17[백준 알고리즘] 1974번 스택 수열 (Python)
N = int(input()) stack = [] check = 1 answer = [] possibility = True for i in range(N): num = int(input()) while check
N = int(input()) stack = [] check = 1 answer = [] possibility = True for i in range(N): num = int(input()) while check