1impl Solution {2 pub fn smaller_numbers_than_current(nums: Vec<i32>) -> Vec<i32> {3 nums4 .iter()5 .map(|i| nums.iter().filter(|j| *j < &i).count() as i32)6 .collect()7 }8}
WPM •0 •0
ACC •0 •0
TIME •0