Hi Guys, The @pacific solution is the best?
Wladimir Araujo Tavares *Federal University of CearĂ¡ * On Tue, Jun 28, 2011 at 7:26 AM, sunny agrawal <sunny816.i...@gmail.com>wrote: > you can initialize it to (Max-Min+1) > where Max = max of all elements > Min = min of all elements > > Or simple initialise it to a large integer like 0x7fffffff for 32 bit > numbers. > > > > On Tue, Jun 28, 2011 at 3:32 PM, vikas <mehta...@gmail.com> wrote: > >> what will be the oldDiff initially. can u plz explain with a egsample >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Algorithm Geeks" group. >> To view this discussion on the web visit >> https://groups.google.com/d/msg/algogeeks/-/NXQqyUTbdlkJ. >> >> 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. >> > > > > -- > Sunny Aggrawal > B-Tech IV year,CSI > Indian Institute Of Technology,Roorkee > > > -- > 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. > -- 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.