10 2022 档案

摘要:神奇字符串 题解:模拟这个神奇字符串,然后直接统计1的个数即可 class Solution { public int magicalString(int n) { StringBuilder stringBuilder = new StringBuilder(); stringBuilder.ap 阅读全文
posted @ 2022-10-31 20:38 Eiffelzero 阅读(15) 评论(0) 推荐(0) 编辑
摘要:784. 字母大小写全排列 字母大小写全排列。 题解: 按题意模拟,DFS遍历string的每个下表字符,并对其按题意操作,遍历完添加到答案。 class Solution { public List<String> letterCasePermutation(String s) { char[] 阅读全文
posted @ 2022-10-30 02:10 Eiffelzero 阅读(22) 评论(0) 推荐(0) 编辑
摘要:参考: https://www.yuque.com/awescnb/user https://github.com/BNDong/Cnblogs-Theme-SimpleMemory 阅读全文
posted @ 2022-10-30 01:25 Eiffelzero 阅读(12) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示