Check whether a number equals the sum of its digits each raised to the digit count
Company: Tech Mahindra
Role: Software Engineer
Category: Coding & Algorithms
Difficulty: easy
Interview Round: Other
Overview: Decide whether a positive integer is an Armstrong (narcissistic) number, meaning it equals the sum of its digits each raised to the power of the digit count. It tests digit extraction with division and modulo, counting digits, and comparing against the untouched original value.