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

Struct Node

structure/trie/trie.go:7–10  ·  view source on GitHub ↗

Node represents each node in Trie.

Source from the content-addressed store, hash-verified

5
6// Node represents each node in Trie.
7type Node struct {
8 children map[rune]*Node // map children nodes
9 isLeaf bool // current node value
10}
11
12// NewNode creates a new Trie node with initialized
13// children map.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected