Open sanjarcode opened 2 years ago
This may make writing recursive functions more involved, and less obvious. Basically it'll add need for a basic test of whether the base case is valid for some cases.
This is undesirable, if true.
A problem that has a base case that needs extra observations/test.
In short, are non-intuitive base cases in recursion possible?
This may make writing recursive functions more involved, and less obvious. Basically it'll add need for a basic test of whether the base case is valid for some cases.
This is undesirable, if true.