Thanks, Ian.
On Sunday, April 12, 2020 at 9:10:25 PM UTC-7, Ian Lance Taylor wrote:
>
> On Sun, Apr 12, 2020 at 8:28 PM Ram Kumar > wrote:
> >
> > Documentation for "container/heap" says
> >
> > Package heap provides heap operations for any type that implements
> heap.Interface.
> >
> > he
On Sun, Apr 12, 2020 at 8:28 PM Ram Kumar wrote:
>
> Documentation for "container/heap" says
>
> Package heap provides heap operations for any type that implements
> heap.Interface.
>
> heap.Interface is
>
> type Interface interface {
> sort.Interface
> Push(x interface{}) // add x as ele
Documentation for "container/heap" says
Package heap provides heap operations for any type that implements
heap.Interface.
heap.Interface is
type Interface interface {
sort.Interface
Push(x interface{}) // add x as element Len()
Pop() interface{} // remove and return element Len(