Fast factorial computation

Sir how to compute efficient factorial.

You can use Dynamic Programming(DP) for efficient computation of factorial.