This example inserts several ints into an IntHeap, checks the minimum, and removes them in order of priority. ```go h := NewPriorityQueue[int]() h.Push(3) h.Push(2) h.Push(1) h.Push(5) fmt.Printf("minimum: %d\n", h.Top()) for h.Len() > 0 { fmt.Printf("%d ", h.Pop()) } // Output: // minimum: 1 // 1 2 3 5 ``` #### Output ``` minimum: 1 1 2 3 5 ```