Welcome, %1$s. Please login or register.

August 16, 2017, 07:01:08 PM
: 1
: Process the matrix  ( 1640 )
« : December 28, 2009, 11:17:20 PM From Poonam»



Process the matrix


An mXn matrix is given. We have to process the matrix such that if the value at position, say, (i,j) is 0 then the whole row and column which has that (i,j) should be made 0.

Give an optimized algorithm for it (both in time and space).

 
Liked It? Share it!

              


: 1
« previous next »

 

Best RatedList All>>



Latest
Random



SMF 2.0.10 | SMF © 2015, Simple Machines | Contact Webmaster | OnlineFunDb.com © 2009/10 | Legal Disclaimer