algorithms
Wednesday, September 29, 2010
2D array of 1s and 0s.
Given a 2-Dimensional(NXN) array A[][]. Change A[] such that if A[i][j]=1 Set all ith row and jth column elements as '1'. Can you do it in O(N*N)
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)