remove continue in while loop...then it will work fine. On Sun, Jan 1, 2012 at 12:49 AM, atul anand <atul.87fri...@gmail.com> wrote:
> *if (max - min > k) //* this code is unreachable in the while loop. > break; -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.