How can it return 1 if f(n)=0?

i mean its clear upto 3 it returns 1 but how can 0 return 1

Hey @Ankur-Ankur-937479863269311
It is the base case.
When no area is remaining or when n=0, you can say that the tilling process is complete in 1 way.(ie. without placing any tile)

If this resolves ur doubt then please mark it as resolved :slight_smile:

when no tiles are remaining or n=0,then it should return; but how can it be 1

ya ya got it thanks …i got it now

1 Like