All Questions
1 question
1
vote
1
answer
2k
views
Numbers as Strings Multiplication Function in Swift
I was solving a problem 20, Factorial Digit Sum, on Project Euler.
Factorial Digits Sum
\$n!\$ means \$n \cdot (n − 1) \cdot \ldots \cdot 3 \cdot 2 \cdot 1\$
For example, \$10! = 10 \cdot ...