Simple Java Solution
Code
# Code
```java []
class Solution {
    public int minDeletionSize(String[] strs) {
        int count=0;
        HashSet<Integer> hset=new HashSet<Integer>();
        for(int i=0;i<strs[0].length();i++)
        {
            int flag=0;
            for(int j=1;j<strs.length;j++)
            {
                if(strs[j].charAt(i)<strs[j-1].charAt(i))
                {
                          if(!hset.contains(j))
                          {
                              count++;
                              flag=1;
                              break;
                          }
                }
            }
            if(flag==0)
            {
               for(int j=1;j<strs.length;j++)
                {
                    if(strs[j].charAt(i)>strs[j-1].charAt(i))
                    {
                        hset.add(j);
                    }
                }
            }
        }
 
        return count;
    }
}
```
['Java']