Given two square matrices(initial and final)  consisting of elements either
1 or 0. Using minimum number of toggles change the initial to final matrix.

You can toggle either a single row or column at a time. If ith row is
toggled all 1's become 0 and vice versa in that row.

What will be the correct algorithm for this?

For example |0 0 1| |1 1 1| |1 0 1| to |1 1 1| |1 1 0| |1 0 0| would require
1st row and last column toggle.

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

Reply via email to