MCPcopy 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

1fn 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_arrayFunction · 0.70

Tested by

no test coverage detected