MAKING A LARGE ISLAND | LEETCODE # 827 | PYTHON SOLUTION

Поделиться
HTML-код
  • Опубликовано: 2 окт 2024
  • In this video we are solving another Facebook interview question: Making a Large Island (Leetcode # 827).
    This question builds on the foundation set in questions like "Max Area of an Island" and "Number of Islands" where we want to use DFS to do some traversal of a binary matrix. This problem is a little bit trickier and there's some things we need to take care of in order to actually compute the correct solution here and not double count things.

Комментарии • 19