摘要: leetcode 131 思路:回溯 比如说aab,对于每个元素currentNum,有两种选择: 1.如果currentNum<len-1,可以将当前元素加入到currentStr中,然后dfs(start,currentNum+1)。而currentNum==len-1时不能dfs(start, 阅读全文
posted @ 2025-01-09 18:38 vast_joy 阅读(15) 评论(0) 推荐(0)
摘要: leetcode 1789 # Write your MySQL query statement below select employee_id,department_id from Employee group by employee_id having count(*)=1 union sel 阅读全文
posted @ 2025-01-09 14:38 vast_joy 阅读(10) 评论(0) 推荐(0)