On Mon, Aug 13, 2012 at 4:39 PM, vivek rungta <[email protected]>wrote:
> > @Navin- Its only for continuous number :- if size of array >= max-min > for Non continuous it takes O(R) space complexity as suggested by daksh. > where R is range of number. > > > > On Mon, Aug 13, 2012 at 2:55 PM, Navin <[email protected]> wrote: > >> @vivek :- what if the array index goes out of bound. >> I mean if |max - min | > size of the array, then how will u mark the >> element as negative/positive because that index doesn't exist even. >> It won't work in that case. >> >> >> >> -- >> 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/-/DXEES3kjKJoJ. >> >> 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. >> > > -- 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.
