Leetcode | 73. Set Matrix Zeroes | Medium | Java Solution

preview_player
Показать описание


Time Stamps ⏱️:
0:00 - Problem Statement
0:30 - Solving the Problem
3:08 - Coding [Java]
6:09 - Time & Space Complexity
____

Leetcode Set Matrix Zeroes
Set Matrix Zeroes
Set Matrix Zeroes Leetcode Solution
Set Matrix Zeroes Java Solution
73. Set Matrix Zeroes
Leetcode 73
Leetcode 73 solution
Leetcode Solutions Playlist
Leetcode Java Solutions Playlist
Leetcode Easy Solutions

#leetcode #leetcodesolution #java
Рекомендации по теме
Комментарии
Автор

Good explanation man..thank you. I observed may youtubers havent implemented using hashset and this one makes you unique in solving this.

jaganchowhaan
Автор

but ur solution isnt O(1) i guess as u are using extra space for HashSet

yashtrivedi
Автор

1 1 1
0 1 0
1 1 1

Rowset has 1 & colset has 0, 2
In if condition we are using or operator in which we have 0, 1, 2 which will make all elements to 0
But it is not working like that the actual output is correct can u give me explanation on if conditions

devadharsank