Lets' say,

0<i<=3(n)
0<j<=5(m)

for(k=2 to n+m)
{
 find_set_of(i,j) s.t. i+j =k
print all the matrix elements for (i,j);
}

Regards,
Ravi Shankar,
R &D,
Cloud Life Cycle Management
HCL Comnet,
Noida,
Ph:9953696666



On Mon, Oct 3, 2011 at 8:32 PM, Hatta <[email protected]> wrote:

> Zig Zag gets the diagonals from the matrix as if you were calculating
> the determinant.
> I know many OPs are not very clear in their statements but with a bit
> of goodwill I could grab this one. :-)
>
>
>
> On Mon, Oct 3, 2011 at 11:01 AM, shady <[email protected]> wrote:
> > exactly problem is defined in such a vague manner.... what is zig-zag ?
> > always post links of the place from where you copy the question.....
> >
> > On Mon, Oct 3, 2011 at 6:18 PM, DIVIJ WADHAWAN <[email protected]>
> wrote:
> >>
> >> What do u mean by Zig-Zag ??
> >>
> >> On Mon, Oct 3, 2011 at 12:48 PM, Rahul Verma <[email protected]>
> >> wrote:
> >>>
> >>> @Anika
> >>>
> >>> What do you mean with the zigzag fashion here in problem?
> >>>
> >>> --
> >>> 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/-/5rO1BmBFlZwJ.
> >>> 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.
> >
> > --
> > 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.
> >
>
>
>
> --
> Hatta
>
> --
> 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.
>
>

-- 
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.

Reply via email to