标签:break div pre for turn length min code bsp
public class Solution { public int MinDeletionSize(string[] A) { var result = 0; for (int j = 0; j < A[0].Length; j++) { for (int i = 1; i < A.Length; i++) { if (A[i - 1][j] > A[i][j]) { result++; break; } } } return result; } }
标签:break div pre for turn length min code bsp
原文地址:https://www.cnblogs.com/asenyang/p/10017556.html