LeetCode 959 - Regions Cut By Slashes - Java

preview_player
Показать описание
Solution, explanation, and complexity analysis for LeetCode 959 in Java

Problem Description:

Code:
Рекомендации по теме
Комментарии
Автор

Thanks for explaning why we need 3*3 grid, because once you figure that out its basically number of island problem.

hinalpatel
Автор

nice solution it really help me to understand

MM.Esmail
Автор

amazing solution! Btw what is the website used for simulation? Thanks

ThuyNhuTieu
Автор

But there is something I really don't understand why multiply rows and cols by 3? may sound stupid but why not by 2, 4 or 5?

BrandonGarciaCode
visit shbcf.ru