mirror of
				https://github.com/krahets/hello-algo.git
				synced 2025-11-04 14:18:20 +08:00 
			
		
		
		
	Update heap.md
This commit is contained in:
		@ -414,9 +414,7 @@ comments: true
 | 
			
		||||
考虑从入堆结点开始,**从底至顶执行堆化**。具体地,比较插入结点与其父结点的值,若插入结点更大则将它们交换;并循环以上操作,从底至顶地修复堆中的各个结点;直至越过根结点时结束,或当遇到无需交换的结点时提前结束。
 | 
			
		||||
 | 
			
		||||
=== "Step 1"
 | 
			
		||||
    <figure markdown>
 | 
			
		||||
    
 | 
			
		||||
    </figure>
 | 
			
		||||
 | 
			
		||||
=== "Step 2"
 | 
			
		||||
    
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user