tags::
type:: Leetcode_Solution
in:: Algorithms MOC
Leetcode 130 - Surrounded Regions
- go around border and get O cells (base case)
- start a dfs "traversal" on each of these cells to get regions that aren't captured
- the remaining O cells are captured