DS-Algo-Point
DS-Algo-Point copied to clipboard
Krishnamurthy Number
🚀 Feature
A number is said to be Krishnamurthy if the factorial sum of all its digits is equal to that number.
Example
Number = 145
= 1! + 4! + 5!
= 1 + ( 4 * 3 * 2 * 1 ) + ( 5 * 4 * 3 * 2 * 1 )
= 1 + 24 + 120
= 145
Have you read the Contribution Guidelines?
Yes
Pitch
It is an important concept for beginners. I will show how to code it in java.
Assignees - @rakshitgupta23 - Java
@rakshitgupta23 - Assigned in Java