Boolean Matrix Optimised | matrix | C++ Solution
Boolean Matrix Optimised, is a matrix related problem and in this post we will see how we can solve this challenge in C++
Given a boolean matrix mat[M][N] of size M X N, modify it such that if a matrix cell mat[i][j] is 1 (or true) then make all the cells of ith row and jth column as 1. Space optimised solution
Please check the main.cpp snippet for the solution.
This solution originally posted at: Github by @susantabiswas