Problems > Armstrong Number > Editorial

Armstrong Number — Solution & Editorial

Back to the Problem

Let K be the digit count; sum digitK and compare.

Complexity: O(K)