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

Function leetcode

47. Permutations II/src/main.rs:84–96  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

82
83 #[test]
84 fn leetcode() {
85 assert_eq!(
86 Solution::permute_unique(vec![2,2,1,1]),
87 vec![
88 vec![1,1,2,2],
89 vec![1,2,1,2],
90 vec![1,2,2,1],
91 vec![2,1,1,2],
92 vec![2,1,2,1],
93 vec![2,2,1,1]
94 ]
95 );
96 }
97}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected