MCPcopy Create free account
hub / github.com/TheAlgorithms/Go / Node

Struct Node

structure/stack/stacklinkedlist.go:13–16  ·  view source on GitHub ↗

Node structure

Source from the content-addressed store, hash-verified

11
12// Node structure
13type Node struct {
14 Val any
15 Next *Node
16}
17
18// Stack has jost top of node and with length
19type Stack struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected