leetcode-rust
                                
                                 leetcode-rust copied to clipboard
                                
                                    leetcode-rust copied to clipboard
                            
                            
                            
                        Manipulating rust iterators
Hi,
Out of interest, I read one of your solution s0007.
I was given the impression from problem desc that a solution would be like
str.push('-');
str[1..].chars().rev().collect::<String>().parse().unwrap_or(0)
Your code is much like c than rust.