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

Function main

90. Subsets II/src/main.rs:1–15  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1fn main() {
2 let mut a = vec![1,2,3];
3 for i in 0..a.len() {
4 println!("a = {:#?}", a);
5 a.push(i);
6 }
7 assert_eq!(Solution::subsets_with_dup(vec![1,2,2]), vec![
8 vec![2],
9 vec![1],
10 vec![1,2,2],
11 vec![2,2],
12 vec![1,2],
13 vec![]
14 ]);
15}
16
17struct Solution {}
18

Callers

nothing calls this directly

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected