Intel Corporation interview question

factorial in regular and recursive way