效果 代码
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;namespace ConsoleAppNumberOneHelloWorld
{class Program{static void Main(string[] args){Console.WriteLine("hello world…
Every day a Leetcode
题目来源:130. 被围绕的区域
本题给定的矩阵中有三种元素:
字母 X;被字母 X 包围的字母 O;没有被字母 X 包围的字母 O。
本题要求将所有被字母 X 包围的字母 O都变为字母 X ,但很难判断哪些 …