3 Flood Fill

此类题型多以在矩阵上遍历居多,可以用DFS来解决

代表题:

  • Flood Fill

  • Word Search

  • Number of Island

  • Surrounded Regions

  • ...

Last updated