list나 collections 관련 자료구조 사용할 때 max(list), list[-1], stack.pop() 과 같은 함수 사용 시 list 안이 비어있는지 체크 안하면 런타임 에러 발생함. ex) if not stack / if not deque ...
ex) if not stack / if not deque ...