I meant O(n) considering there are "n" elements and not "n" rows/ columns. :-) so my n = nrows x ncolumns. Since we talk of input size in terms of number of elements I thought it'd be n instead of nrowsXncolumns.
On Jun 6, 4:26 am, Senthilnathan Maadasamy <[email protected]> wrote: > @Minotauraus Since the input is an n*n array I think you meant O(n*n), > Right? -- 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.
