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

Function main

1436-destination-city.rs:1–8  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1fn main() {
2 let paths = vec!(
3 vec!("London".to_string(), "New York".to_string()),
4 vec!("New York".to_string(), "Lima".to_string()),
5 vec!("Lima".to_string(), "Sao Paulo".to_string())
6 );
7 println!("{:?}", dest_city(paths));
8}
9
10pub fn dest_city(paths: Vec<Vec<String>>) -> String {
11 let mut res = vec!();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected