Package-level declarations

Types

Link copied to clipboard
data class TreeNode<T>(val value: T, val children: List<TreeNode<T>> = emptyList())

Represents a node in a tree structure, capable of holding a value and a list of child nodes.