linked_list

package
v0.0.0-...-212d8a0 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LinkedList

type LinkedList[T comparable] struct {
	// contains filtered or unexported fields
}

func (*LinkedList[T]) Delete

func (l *LinkedList[T]) Delete(value T) bool

func (*LinkedList[T]) Has

func (l *LinkedList[T]) Has(value T) bool

func (*LinkedList[T]) Insert

func (l *LinkedList[T]) Insert(value T)

type Node

type Node[T comparable] struct {
	Value T
	Next  *Node[T]
}

Jump to

Keyboard shortcuts

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