Leetcode 1001(Hard) Grid Illumination: Simple C++ Solution
Автор: Shivam Patel
Загружено: 2020-10-14
Просмотров: 2327
In this video, I provide a simple solution with an explanation to the Leetcode 1001: Grid Illumination: in the hard category. The problem is a state querying problem. However, the tricky part is that the state of the grid updates after querying. Hence, with a few key observation and the use of hashmap, we achieve the optimal solution.
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: