sll

package
v0.0.0-...-81dff9f Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SLL

type SLL[TItem any] interface {
	stack.Stack[TItem]
	queue.Queue[TItem]
}

SLL provides the implementation of a singly-linked list

func From

func From[TItem any](c collection.Collection[TItem]) SLL[TItem]

From creates a new SLL by concatenating the items of the given collection

func New

func New[TItem any]() SLL[TItem]

New creates a new SLL

Jump to

Keyboard shortcuts

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