Please describe how start<=end will act as the base case of this code
Cant understand the base case
Hello @ANIKET_DALAL,
It is not the base condition.
The base condition is when start>end i.e. the else part of the condition start<=end.
For start>end, we have to just return from the function.
But, as it is the else part, so we need not to specify it.
Hope, this would help.
Give a like if you are satisfied.
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.