2019-11-10 LeetCode in Rust LeetCode 852. Peak Index in a Mountain Array Problem Statement impl Solution { pub fn peak_index_in_mountain_array(a: Vec<i32>) -> i32 { for i in 0..a.len() - 1 { if a[i] < a[i + 1] { continue; } return i as i32; } return 0; }} Newer LeetCode 827. Making A Large Island Older LeetCode 853. Car Fleet