Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BinaryTree ¶
type BinaryTree struct {
// contains filtered or unexported fields
}
type BinaryTreeNode ¶
type BinaryTreeNode struct {
Val int
// contains filtered or unexported fields
}
type DoublyLinkedList ¶
type DoublyLinkedList struct {
// contains filtered or unexported fields
}
func NewDoublyLinkedList ¶
func NewDoublyLinkedList() *DoublyLinkedList
func (*DoublyLinkedList) AddFirst ¶
func (l *DoublyLinkedList) AddFirst(x *node)
func (*DoublyLinkedList) AddLast ¶
func (l *DoublyLinkedList) AddLast(x *node)
func (*DoublyLinkedList) Remove ¶
func (l *DoublyLinkedList) Remove(x node)
func (*DoublyLinkedList) RemoveLast ¶
func (l *DoublyLinkedList) RemoveLast() *node
func (*DoublyLinkedList) Size ¶
func (l *DoublyLinkedList) Size() int
type LRUCache ¶
type LRUCache struct {
// contains filtered or unexported fields
}
func NewLRUCache ¶
type MaxPriorityQueue ¶
type MaxPriorityQueue struct {
// contains filtered or unexported fields
}
func NewMaxPriorityQueue ¶
func NewMaxPriorityQueue() *MaxPriorityQueue
func (*MaxPriorityQueue) DelMax ¶
func (t *MaxPriorityQueue) DelMax() int
func (*MaxPriorityQueue) Insert ¶
func (t *MaxPriorityQueue) Insert(val int)
func (*MaxPriorityQueue) Max ¶
func (t *MaxPriorityQueue) Max() int
type MinPriorityQueue ¶
type MinPriorityQueue struct {
// contains filtered or unexported fields
}
func NewMinPriorityQueue ¶
func NewMinPriorityQueue() *MinPriorityQueue
func (*MinPriorityQueue) DelMin ¶
func (t *MinPriorityQueue) DelMin() int
func (*MinPriorityQueue) Insert ¶
func (t *MinPriorityQueue) Insert(val int)
func (*MinPriorityQueue) Min ¶
func (t *MinPriorityQueue) Min() int
Click to show internal directories.
Click to hide internal directories.