Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

What's the efficient way to write factorial function?

user-image
Question added by Deleted user
Date Posted: 2014/04/01
Ramprakash Mahendran
by Ramprakash Mahendran , Lead Software Engineer , Tao Digital Solutions Taiwan Pvt Ltd.

Recursive Method is the best way

Maher Alsilwy
by Maher Alsilwy , CONSULTANT , B7R DESIGN WWW.B7RDES.COM

I guess the best way would be creating a separate function to calculate the factorial either using the regular way or recursively

More Questions Like This