Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/arnauddri/algorithms
/ NewNode
Function
NewNode
data-structures/linked-list/linked_list.go:25–27 ·
view source on GitHub ↗
(value interface{})
Source
from the content-addressed store, hash-verified
23
}
24
25
func
NewNode(value
interface
{}) *Node {
26
return
&Node{Value: value}
27
}
28
29
func
(l *List) Len() int {
30
return
l.Length
Callers
4
TestLinkedList
Function · 0.70
Prepend
Method · 0.70
Append
Method · 0.70
Add
Method · 0.70
Calls
no outgoing calls
Tested by
1
TestLinkedList
Function · 0.56