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

Function TreeToList

DataStructure/BinaryTree/TreeToList.js:7–27  ·  view source on GitHub ↗

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

(root)

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