matrix/surrounded_regions library

Functions

solveSurroundedRegions(List<List<String>> board) → void
Captures all regions surrounded by 'X' in a 2D board using DFS.