HTMLify

LeetCode - A Number After a Double Reversal - Rust
Views: 187 | Author: abh
impl Solution {
    pub fn is_same_after_reversals(num: i32) -> bool {
        if (num != 0){
            return num % 10 != 0;
        }
        else{
            return true;
        }
    }
}

Comments