Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/StudyRust/leetcode_rust
/ main
Function
main
196-next-greater-element-i.rs:21–25 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
19
}
20
21
fn main() {
22
let nums1 = vec![4, 1, 2];
23
let nums2 = vec![1, 3, 4, 2];
24
println!(
"{:?}"
, Solution::next_greater_element(nums1, nums2));
25
}
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected