SLK Group Interview Question

factoral of number with recursion and without recursion