Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/StudyRust/leetcode_rust
/ main
Function
main
1920-build-array-from-permutation.rs:1–5 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
1
fn main() {
2
let nums = vec!(0,2,1,5,3,4);
3
let res = build_array(nums);
4
println!(
"{:?}"
, res);
5
}
6
7
// 输入:nums = [0,2,1,5,3,4]
8
// 输出:[0,1,2,4,5,3]
Callers
nothing calls this directly
Calls
1
build_array
Function · 0.70
Tested by
no test coverage detected