_189_rotate_array
safrannn opened this issue · 0 comments
safrannn commented
it can be written using rotate_right from std::vec::Vec
https://doc.rust-lang.org/std/vec/struct.Vec.html#method.rotate_left
here's a link to your code:
https://github.com/warycat/rustgym/blob/master/rustgym/src/leetcode/_189_rotate_array.rs