摘要: 2025.6.25学习 这几天重新开一下八股和算法,准备9月份的秋招了 leetcode 51 N皇后 思路:深搜回溯,可以用集合来存不能填的元素优化时间复杂度 class Solution { List<List<String>> ans = new ArrayList<>(); public L 阅读全文
posted @ 2025-06-25 22:19 vast_joy 阅读(12) 评论(0) 推荐(0)