×

Loading...

Defining a function which calls itself inside the body is recursive. But,

actually it's another hint, assume we define a function f, which return a function g, and g behaves like f(f(f(..... with has indefinite layers.

Then this is not recursive.

Now the problem gets simplified - only need to figure out how to define this function g.
Report