ds

package module
v0.0.0-...-14df0f2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 29, 2021 License: MIT Imports: 0 Imported by: 0

README

data structure

dscommon data structures implement by golang.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DulNode

type DulNode struct {
	Perv  *DulNode    `json:"perv_node"`
	Next  *DulNode    `json:"next_node"`
	Value interface{} `json:"value"`
}

func (*DulNode) Val

func (n *DulNode) Val() interface{}

type Element

type Element interface {
	Val() interface{}
}

type Node

type Node struct {
	Value interface{} `json:"value"`
	Next  *Node       `json:"next_node"`
}

Node 是链表的节点

func (*Node) Val

func (n *Node) Val() interface{}

Directories

Path Synopsis
Circular Queue data structure
Circular Queue data structure
stack data structure
stack data structure

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL