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

Function main

384-shuffle-an-array.rs:24–33  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

22}
23
24fn main() {
25 let nums = vec![1, 2, 3];
26 let obj = Solution::new(nums);
27 let ret_1: Vec<i32> = obj.reset();
28 println!("{:?}", ret_1);
29 let ret_2: Vec<i32> = obj.shuffle();
30 println!("{:?}", ret_2);
31 let ret_3: Vec<i32> = obj.reset();
32 println!("{:?}", ret_3);
33}

Callers

nothing calls this directly

Calls 2

resetMethod · 0.80
shuffleMethod · 0.80

Tested by

no test coverage detected