deno.land / x / masx200_leetcode_test@10.6.5 / maximum-binary-tree / index.go

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package index
import maximum_binary_tree_ii "github.com/masx200/leetcode-test/maximum-binary-tree-ii"import serialize_and_deserialize_binary_tree "github.com/masx200/leetcode-test/serialize-and-deserialize-binary-tree"
type TreeNode = serialize_and_deserialize_binary_tree.TreeNode
var insertIntoMaxTree = maximum_binary_tree_ii.InsertIntoMaxTree
func constructMaximumBinaryTree(nums []int) *TreeNode { var node *TreeNode = nil for _, v := range nums { node = insertIntoMaxTree(node, v) } return node}
masx200_leetcode_test
leetcode题解和一些测试工具
DocumentationDocumentation
GitHub Repositorymasx200/leetcode-test
GitHub Stars
4

Version Info

Tagged at
4 months ago