Rust 4ms solution
\nimpl Solution {\n    pub fn get_smallest_string(n: i32, k: i32) -> String {\n        let mut v = vec![0; n as usize];\n        let mut k = k - n;\n        for
```\nimpl Solution {\n    pub fn get_smallest_string(n: i32, k: i32) -> String {\n        let mut v = vec![0; n as usize];\n        let mut k = k - n;\n        for e in v.iter_mut().rev() {\n            let m = std::cmp::min(25, k);\n            *e = m as u8 + b\'a\';\n            k -= m;\n        }\n        String::from_utf8(v).unwrap()\n    }\n}\n```
['Rust']