• + 0 comments

    Rust:

    (height.iter().max().unwrap() - k).max(0)