摘要: N皇后 【回溯算法】 51. N 皇后 - 力扣(LeetCode) 核心:1.按照层去选择 2.使用String.copyValueOf(char[] ) 将char数组转成String class Solution { List<List<String>> res; public List<List<String>> 阅读全文
posted @ 2022-09-20 20:20 yky_xukai的胡思乱想 阅读(22) 评论(0) 推荐(0)