1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
struct Solution; impl Solution { pub fn find_diagonal_order(mat: Vec<Vec<i32>>) -> Vec<i32> { let mut solution: Vec<i32> = Vec::new(); let x: usize = 0; let y: usize = 0; solution.push(mat[x][y]); solution } } fn main() { println!("Hello, world!"); }