https://school.programmers.co.kr/learn/courses/30/lessons/42628 소스 코드 from heapq import heappush, heappop def solution(operations): min_heap = [] max_heap = [] for operation in operations: [operator, value] = operation.split(' ') value = int(value) if operator == "I": heappush(min_heap, value) heappush(max_heap, -value) elif operator == "D": if value == 1 and len(max_heap) > 0: heappop(max_heap)..