Intel Corporation Interview Question

factorial in regular and recursive way