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

Function listSum

DataStructure/LinkList/ListSum.ts:10–39  ·  view source on GitHub ↗

* 给出两个 非空 的链表用来表示两个非负的整数。其中,它们各自的位数是按照 逆序 的方式存储的,并且它们的每个节点只能存储 一位 数字。 * 如果,我们将这两个数相加起来,则会返回一个新的链表来表示它们的和。 * @param {ListNode} pHead * @param {ListNode} qHead * @return {ListNode}

(pHead: ListNode, qHead: ListNode)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

LinkList.test.jsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected