it is O(m+n). sure?? On Sat, Aug 20, 2011 at 2:52 PM, Sanjay Rajpal <srn...@gmail.com> wrote:
> We are given a 2-D array of 0s and 1s. > We have to determine which row contains maximum no. of 1s in the array in > O(m+n); > where m - no. of rows and n - no. of columns. > > Sanju > :) > > -- > 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.