Given an integer
n, returntrueif and only if it is an Armstrong number.The
k-digit numbernis an Armstrong number if and only if thekthpower of each digit sums ton.
1 | class Solution { |
Given an integer
n, returntrueif and only if it is an Armstrong number.The
k-digit numbernis an Armstrong number if and only if thekthpower of each digit sums ton.
1 | class Solution { |