Daily Dose of DSA - Day 6
Jan 14, 2023 · 5 min read · class Solution { public: // In this approach we will traverse every element of the matrix , for each element we would check if its zero or not , if its non zero we would replace it with INT_MAX (replacing with INT_MAX and not zero because if we r...
Join discussion






















