Dashboard Temp Share Shortlinks Frames API

HTMLify

2119.rs
Views: 461 | Author: abh
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
impl Solution {
    pub fn is_same_after_reversals(num: i32) -> bool {
        if (num != 0){
            return num % 10 != 0;
        }
        else{
            return true;
        }
    }
}