Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeepEqualTree ¶
DeepEqualTree test recursion diff tree
Types ¶
type TreeNode ¶
TreeNode Leetcode Tree Node
func GenerateTree ¶
func GenerateTree(treeList []interface{}) *TreeNode
* GenerateTree generate leetcode tree * e.g: []int{0, 1, 2, 2, 3, 3, nil, nil, 4, 4} * 1 * / \ * 2 2 * / \ * 3 3 * / \ * 4 4
Click to show internal directories.
Click to hide internal directories.