Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
404 B
1
Indexable
Never
Crop
A farmer used to grow the same crop every year. This year because of better water availability, he decides to grow different crops. He doesn't know how to arrange those crops in the field. Assume the number of distinct crops he wants to grow is N.

Can you help the farmer to find the total number of ways N distinct crops can be arranged in the field?


Note : Formulate a RECURSIVE Algorithm