MCPcopy Create free account
hub / github.com/LjyYano/LeetCode / addTwoNumbers

Method addTwoNumbers

src/main/java/L0002_AddTwoNumbers.java:19–46  ·  view source on GitHub ↗

同时遍历两个链表,对应位置的数字相加,注意处理进位 @param l1 第一个链表 @param l2 第二个链表 @return 相加后的结果链表

(ListNode l1, ListNode l2)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

mainMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected