AT&T interview question

First it was recognize Factorial code recursive.(easy)