코드 class PriorityQueue: ''' 우선순위 큐를 힙으로 구현합니다 ''' # 최소 힙 = 부모 self.data[index]: temp = self.data[index] self.data[index] = self.data[index//2] self.data[index//2] = ..