Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Head ¶
type Head struct {
// contains filtered or unexported fields
}
Linked List Head
type Heap ¶
type Heap struct {
// contains filtered or unexported fields
}
func (*Heap) MaxHeapTest ¶
MaxHeapTest() evaluate the heap if it is a max-heap
func (*Heap) MinHeapTest ¶
MinHeapTest() evaluate the heap if it is a min-heap
type Queue ¶
type Queue struct {
// contains filtered or unexported fields
}
func (*Queue) Dequeue ¶
func (q *Queue) Dequeue()
Dequeue() removes the bottom-most element in the Queue
func (*Queue) Enqueue ¶
func (q *Queue) Enqueue(v interface{})
Enqueue() adds an element inside the Queue if the Queue is not full
type Stack ¶
type Stack struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.