Tuesday, November 15, 2011

Given a 0/1 matrix

Transform it in such a way that if M[i][j]=1 then you toggle all the row m[i] and all the column m[j]

No comments:

Post a Comment