From 072c18bb7ee6be0fc97fd9d4f1fbc6b7d5d9bc6e Mon Sep 17 00:00:00 2001 From: Gabriel <38080169+Gabriel-18@users.noreply.github.com> Date: Tue, 26 Jan 2021 20:22:33 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E5=86=97=E4=BD=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 这一行排序的代码并没有用 --- notes/38. 字符串的排列.md | 1 - 1 file changed, 1 deletion(-) diff --git a/notes/38. 字符串的排列.md b/notes/38. 字符串的排列.md index 149b3772..f432358d 100644 --- a/notes/38. 字符串的排列.md +++ b/notes/38. 字符串的排列.md @@ -15,7 +15,6 @@ public ArrayList Permutation(String str) { if (str.length() == 0) return ret; char[] chars = str.toCharArray(); - Arrays.sort(chars); backtracking(chars, new boolean[chars.length], new StringBuilder()); return ret; }