934. Shortest Bridge

Description

Here

Intuition

没啥特别的,就是别多想,直接把所有岛1的点扔进去queue进行BFS

Pitfall

Solution

results matching ""

    No results matching ""