summaryrefslogtreecommitdiff
path: root/diagonal-traverse/src/main.rs
blob: 65f680bb0bb2ce6804876ccca0543d7f64dc8e21 (plain)
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!");
}