130. Surrounded Regions 417. Pacific Atlantic Water Flow
SurroundedRegionsGivenanmxnmatrixboardcontaining'X'and'O',captureallregionsthatare4-directionallysurroundedby'X'.Aregioniscapturedbyflippingall'O'sinto'X'sinthatsurroundedregion.Markallthe'O'islan