@yoku..r u sure..in 2nd last for loop by just setting if (matrix[0] [0]==0) e.g. matrix[i][0]=0 and temp=0 e.g. (a[j][0]=0) u r doing what asked in question....set a[i][j] or a[j][i] =0 if any a[i] or a[j=0 ..i means r u sure that u r not skipping any row or colum although u code is working fine....let me know....??
Thanks Shashank -- 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.