时间复杂度 O(n)
空间复杂度 O(1)
分别统计大小写字符的个数,再判断,一共就三种正确情况
大全写
全小写
首字母大写,其他全小写
Last updated 3 years ago
Was this helpful?