MCPcopy Create free account
hub / github.com/Ainevsia/Leetcode-Rust / add_two_numbers

Method add_two_numbers

2. Add Two Numbers/src/main.rs:112–114  ·  view source on GitHub ↗
(l1: Option<Box<ListNode>>, l2: Option<Box<ListNode>>)

Source from the content-addressed store, hash-verified

110 }
111
112 pub fn add_two_numbers(l1: Option<Box<ListNode>>, l2: Option<Box<ListNode>>) -> Option<Box<ListNode>> {
113 Self::add_two_numbers_recursive(l1.as_ref(), l2.as_ref(), 0)
114 }
115}
116
117

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected