스택 코테

Stack: 10828, 9012, 10799 Queue: 10845 Deck: 10866 ~ 목차 ~ STACK 1. import deque from collections 2. stack이 비어있는지 확인 3. 기본 동작들을 list로 구현하기 * boj.kr/10799 쇠막대기 * QUEUE ( 백준 10845 ) 1. stack과 다른 점 DEQUE ( 백준 10866 ) 1. stack, queue와 다른 점 STACK 1. import deque from collections Deque is preferred over list in the cases where we need quicker append and pop operations from both the ends of the containe..