Practice Problem
Surrounded Regions
Difficulty: Medium
Given a board of 'X' and 'O', capture all regions of 'O' that are completely surrounded by 'X' (not touching the border).
Practice Problem
Difficulty: Medium
Given a board of 'X' and 'O', capture all regions of 'O' that are completely surrounded by 'X' (not touching the border).