Narcissistic number is an n-digit number that is the sum of the nth powers of its digits, e.g., other than the trivial single digit numbers 370=3^3+7^3+0^3 is a narcissistic number.
-
Updated
Nov 28, 2022 - C++
Narcissistic number is an n-digit number that is the sum of the nth powers of its digits, e.g., other than the trivial single digit numbers 370=3^3+7^3+0^3 is a narcissistic number.
Various solution to interview question in Python.
Add a description, image, and links to the narcissist-number topic page so that developers can more easily learn about it.
To associate your repository with the narcissist-number topic, visit your repo's landing page and select "manage topics."