Search
⌘K

Leetcode 1134. Armstrong Number

Check whether a given non-negative integer is an Armstrong (narcissistic) number: compute the sum of its digits each raised to the power of the number of digits and determine if that sum equals the original number. This tests simple digit extraction and exponentiation.


Question Timeline

See when this question was last asked and where, including any notes left by other candidates.

Comments

Your account is free and you can post anonymously if you choose.