MCPcopy Create free account
hub / github.com/austingebauer/go-leetcode / TreeNode

Struct TreeNode

structures/IntTreeNode.go:5–9  ·  view source on GitHub ↗

TreeNode is a node in a binary tree data structure.

Source from the content-addressed store, hash-verified

3
4// TreeNode is a node in a binary tree data structure.
5type TreeNode struct {
6 Left *TreeNode
7 Right *TreeNode
8 Val int
9}
10
11// ListNode is a node in a singly-linked list.
12type ListNode struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected