힙 (자료 구조): 두 판 사이의 차이

내용 삭제됨 내용 추가됨
58번째 줄:
while (not isRoot(v)) and key(parent(v))>key(v) do
{
swapItems(v.,parent(v));
v<-parent(v);
}