mirror of
https://github.com/krahets/hello-algo.git
synced 2026-04-24 10:33:34 +08:00
refactor: add/refactor method in include, simplified print code (#471)
This commit is contained in:
@@ -143,7 +143,7 @@ class MaxHeap
|
||||
public void print()
|
||||
{
|
||||
var queue = new Queue<int>(maxHeap);
|
||||
PrintUtil.printHeap(queue);
|
||||
PrintUtil.PrintHeap(queue);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user