Nice Solution and explanation Lucifer :) On Dec 31, 4:48 pm, Lucifer <[email protected]> wrote: > @atul.. > > Yup.. exactly.. i think the problem is itself about narrowing the > range and works really well as each node can have only one child.. :) > > On 31 Dec, 13:09, atul anand <[email protected]> wrote: > > > > > ok so by doing right=mid; and left=mid; in the if and else if block. > > > you are narrowing down the range...?? > > > thanks for the explanation :)- Hide quoted text - > > - Show quoted text -
-- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
