MCPcopy Create free account
hub / github.com/Reaper622/DataStructure-Algorithm-TS / TreeToList

Function TreeToList

DataStructure/BinaryTree/TreeToList.ts:7–26  ·  view source on GitHub ↗

* 给定一个二叉树,原地将它展开为链表。 * @param {TreeNode} root

(root: TreeNode)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected