摘要: 递归 遍历字符串S中的字符,如果是字母则将之前的全排列复制一份,并添加当前字母的大小写,如果不是字母则直接添加该字符 class Solution { public List<String> letterCasePermutation(String S) { List<StringBuffer> a 阅读全文
posted @ 2020-10-12 09:36 消灭猕猴桃 阅读(123) 评论(0) 推荐(0) 编辑