Leetcode 1091 | Shortest Path in Binary Matrix

preview_player
Показать описание
Leetcode 1091 | Shortest Path in Binary Matrix

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

Thank you sir
very clear explanation...

shrirambalaji
Автор

Spent 3 hours on this problem. Finally understanding the concepts

MrKB_SSJ
Автор

Thank you bro, was getting TLE, found my mistake

ayushsingh
Автор

I am not sure why do we need the for loop inside the while loop. I think we can achieve the same result without it. Can somebody tell me if I am wrong?

tommyls
visit shbcf.ru