MCPcopy Create free account
hub / github.com/StudyRust/leetcode_rust / combination_sum3

Method combination_sum3

216-combination-sum-iii.rs:17–22  ·  view source on GitHub ↗
(k: i32, n: i32)

Source from the content-addressed store, hash-verified

15 }
16
17 pub fn combination_sum3(k: i32, n: i32) -> Vec<Vec<i32>> {
18 let mut path = vec![];
19 let mut ret = vec![];
20 Self::backtrace(9, k as usize, 1, &mut path, &mut ret, n);
21 ret
22 }
23}
24
25fn main() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected