how to decide base case condition. how it is possible start>end… explain i=briefly ??
Build tree from array
hello @vishal_sangal_123
consider a case where s==e
then mid will be also be s right.
and then when we will make call on left and right
(s,mid-1) and (mid+1,e)
then both call are like (s,s-1) (s+1,s)
clealry s>e can happen