Strong Numbers are the numbers whose sum of factorial of digits is equal to the original number.
Example - Input : n = 145 Output : Yes Sum of digit factorials = 1! + 4! + 5! = 1 + 24 + 120 = 145
| Name | Name | Last commit date | ||
|---|---|---|---|---|
parent directory.. | ||||
Strong Numbers are the numbers whose sum of factorial of digits is equal to the original number.
Example - Input : n = 145 Output : Yes Sum of digit factorials = 1! + 4! + 5! = 1 + 24 + 120 = 145