surrounded regions java,字节跳动面试算法题【Surrounded Regions】
前言前阵子参加了,字节跳动的面试,面试官给出了一道算法题,题目虽然不难,但不知道怎么,当时也没做出来,现在回头再做一次。该算法题其实就是leetcode上的130. Surrounded Regions.题目描述Given a 2D board containing 'X' and 'O' (the letter O), capture all regions surrounded by'X'.A...