From a490c4b4fd7d3a2d22dfe2e20bb27dc55cd9d237 Mon Sep 17 00:00:00 2001 From: GitNaruto <19946254539@163.com> Date: Fri, 25 Nov 2022 15:00:03 +0800 Subject: [PATCH 01/11] =?UTF-8?q?=E6=B7=BB=E5=8A=A00051N=E7=9A=87=E5=90=8E?= =?UTF-8?q?Java=E7=89=88=E6=9C=AC(=E6=96=B9=E6=B3=952)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- problems/0051.N皇后.md | 50 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/problems/0051.N皇后.md b/problems/0051.N皇后.md index 83d0cd94..16fdf347 100644 --- a/problems/0051.N皇后.md +++ b/problems/0051.N皇后.md @@ -291,6 +291,56 @@ class Solution { } ``` +```java +// 方法2:使用boolean数组表示已经占用的直(斜)线 +class Solution { + List> res = new ArrayList<>(); + boolean[] usedCol, usedDiag45, usedDiag135; // boolean数组中的每个元素代表一条直(斜)线 + public List> solveNQueens(int n) { + usedCol = new boolean[n]; // 列方向的直线条数为 n + usedDiag45 = new boolean[2 * n - 1]; // 45°方向的斜线条数为 2 * n - 1 + usedDiag135 = new boolean[2 * n - 1]; // 135°方向的斜线条数为 2 * n - 1 + //用于收集结果, 元素的index表示棋盘的row,元素的value代表棋盘的column + int[] board = new int[n]; + backTracking(board, n, 0); + return res; + } + private void backTracking(int[] board, int n, int row) { + if (row == n) { + //收集结果 + List temp = new ArrayList<>(); + for (int i : board) { + char[] str = new char[n]; + Arrays.fill(str, '.'); + str[i] = 'Q'; + temp.add(new String(str)); + } + res.add(temp); + return; + } + + for (int col = 0; col < n; col++) { + if (usedCol[col] | usedDiag45[row + col] | usedDiag135[row - col + n - 1]) { + continue; + } + board[row] = col; + // 标记该列出现过 + usedCol[col] = true; + // 同一45°斜线上元素的row + col为定值, 且各不相同 + usedDiag45[row + col] = true; + // 同一135°斜线上元素row - col为定值, 且各不相同 + // row - col 值有正有负, 加 n - 1 是为了对齐零点 + usedDiag135[row - col + n - 1] = true; + // 递归 + backTracking(board, n, row + 1); + usedCol[col] = false; + usedDiag45[row + col] = false; + usedDiag135[row - col + n - 1] = false; + } + } +} +``` + ### Python ```python From ff0ce29232e205f737ea4236ff7be845985b1a18 Mon Sep 17 00:00:00 2001 From: WayV5 <115171820+WayV5@users.noreply.github.com> Date: Sat, 26 Nov 2022 15:13:59 +0800 Subject: [PATCH 02/11] Create fd --- fd | 1 + 1 file changed, 1 insertion(+) create mode 100644 fd diff --git a/fd b/fd new file mode 100644 index 00000000..8713cfa7 --- /dev/null +++ b/fd @@ -0,0 +1 @@ +fdfdfd From 22cea2090fc7046c46e461a6da285b4ff3bfcaa8 Mon Sep 17 00:00:00 2001 From: GitNaruto <19946254539@163.com> Date: Sat, 26 Nov 2022 15:17:01 +0800 Subject: [PATCH 03/11] haha --- fd | 1 - 新建 文本文档.txt | 0 2 files changed, 1 deletion(-) delete mode 100644 fd create mode 100644 新建 文本文档.txt diff --git a/fd b/fd deleted file mode 100644 index 8713cfa7..00000000 --- a/fd +++ /dev/null @@ -1 +0,0 @@ -fdfdfd diff --git a/新建 文本文档.txt b/新建 文本文档.txt new file mode 100644 index 00000000..e69de29b From 61a6112297cd10647d577ff1e82539a3175eb6b7 Mon Sep 17 00:00:00 2001 From: GitNaruto <19946254539@163.com> Date: Sat, 26 Nov 2022 15:18:49 +0800 Subject: [PATCH 04/11] =?UTF-8?q?=E2=80=9C=E5=8F=8D=E5=AF=B9=E5=8F=8D?= =?UTF-8?q?=E5=AF=B9=E5=8F=8D=E5=AF=B9=E2=80=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fd | 1 + 1 file changed, 1 insertion(+) create mode 100644 fd diff --git a/fd b/fd new file mode 100644 index 00000000..8713cfa7 --- /dev/null +++ b/fd @@ -0,0 +1 @@ +fdfdfd From ade863f9c2d6fa9cc3a20f2b2f3636dd0079982c Mon Sep 17 00:00:00 2001 From: GitNaruto <19946254539@163.com> Date: Sat, 26 Nov 2022 15:22:43 +0800 Subject: [PATCH 05/11] =?UTF-8?q?=E2=80=9Cok=E2=80=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fd | 1 - 新建 文本文档.txt | 0 2 files changed, 1 deletion(-) delete mode 100644 fd delete mode 100644 新建 文本文档.txt diff --git a/fd b/fd deleted file mode 100644 index 8713cfa7..00000000 --- a/fd +++ /dev/null @@ -1 +0,0 @@ -fdfdfd diff --git a/新建 文本文档.txt b/新建 文本文档.txt deleted file mode 100644 index e69de29b..00000000 From 4f874ea20735d21f4c3aa517373d73fb66ab5c33 Mon Sep 17 00:00:00 2001 From: GitNaruto <19946254539@163.com> Date: Sat, 26 Nov 2022 15:28:36 +0800 Subject: [PATCH 06/11] =?UTF-8?q?=E5=8F=91=E7=9A=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 1.txt | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 1.txt diff --git a/1.txt b/1.txt new file mode 100644 index 00000000..e69de29b From abfce6875ed8693df6c1d6b83aef35261da12556 Mon Sep 17 00:00:00 2001 From: GitNaruto <19946254539@163.com> Date: Sat, 26 Nov 2022 15:31:47 +0800 Subject: [PATCH 07/11] fd --- 1.txt => 2.txt | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename 1.txt => 2.txt (100%) diff --git a/1.txt b/2.txt similarity index 100% rename from 1.txt rename to 2.txt From 72bc4c40b2b8d4d47276a74f54f48ae58f925db5 Mon Sep 17 00:00:00 2001 From: GitNaruto <19946254539@163.com> Date: Sat, 26 Nov 2022 19:43:43 +0800 Subject: [PATCH 08/11] update --- 2.txt | 0 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 2.txt diff --git a/2.txt b/2.txt deleted file mode 100644 index e69de29b..00000000 From 4594221520698dd823f65481e286d4a9b228fe99 Mon Sep 17 00:00:00 2001 From: GitNaruto <19946254539@163.com> Date: Sat, 26 Nov 2022 19:47:37 +0800 Subject: [PATCH 09/11] =?UTF-8?q?=E4=BF=AE=E6=94=B9=200037.=E8=A7=A3?= =?UTF-8?q?=E6=95=B0=E7=8B=AC.md=20=E9=94=99=E5=88=AB=E5=AD=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- problems/0037.解数独.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/problems/0037.解数独.md b/problems/0037.解数独.md index fc1e3114..a476af9b 100644 --- a/problems/0037.解数独.md +++ b/problems/0037.解数独.md @@ -44,7 +44,7 @@ [N皇后问题](https://programmercarl.com/0051.N皇后.html)是因为每一行每一列只放一个皇后,只需要一层for循环遍历一行,递归来来遍历列,然后一行一列确定皇后的唯一位置。 -本题就不一样了,**本题中棋盘的每一个位置都要放一个数字(而N换后是一行只放一个皇后),并检查数字是否合法,解数独的树形结构要比N皇后更宽更深**。 +本题就不一样了,**本题中棋盘的每一个位置都要放一个数字(而N皇后是一行只放一个皇后),并检查数字是否合法,解数独的树形结构要比N皇后更宽更深**。 因为这个树形结构太大了,我抽取一部分,如图所示: From 61ea7a5b0c84635251b472f9bcde40a4ad8f1921 Mon Sep 17 00:00:00 2001 From: GitNaruto <19946254539@163.com> Date: Sat, 26 Nov 2022 20:12:39 +0800 Subject: [PATCH 10/11] update --- ...d 72bc4c40b2b8d4d47276a74f54f48ae58f925db5 | 250 ++++++++++++++++++ 1 file changed, 250 insertions(+) create mode 100644 et --hard 72bc4c40b2b8d4d47276a74f54f48ae58f925db5 diff --git a/et --hard 72bc4c40b2b8d4d47276a74f54f48ae58f925db5 b/et --hard 72bc4c40b2b8d4d47276a74f54f48ae58f925db5 new file mode 100644 index 00000000..8f9dd9a0 --- /dev/null +++ b/et --hard 72bc4c40b2b8d4d47276a74f54f48ae58f925db5 @@ -0,0 +1,250 @@ +commit 4594221520698dd823f65481e286d4a9b228fe99 (HEAD -> master, origin/master, origin/HEAD) +Author: GitNaruto <19946254539@163.com> +Date: Sat Nov 26 19:47:37 2022 +0800 + + 修改 0037.解数独.md 错别字 + +commit 72bc4c40b2b8d4d47276a74f54f48ae58f925db5 +Author: GitNaruto <19946254539@163.com> +Date: Sat Nov 26 19:43:43 2022 +0800 + + update + +commit 65ff7ea4c8c5aef9d5c7b3070a66d1786aa2c2fb +Merge: abfce687 111016ae +Author: WayV5 <115171820+WayV5@users.noreply.github.com> +Date: Sat Nov 26 19:41:58 2022 +0800 + + Merge branch 'youngyangyang04:master' into master + +commit abfce6875ed8693df6c1d6b83aef35261da12556 +Author: GitNaruto <19946254539@163.com> +Date: Sat Nov 26 15:31:47 2022 +0800 + + fd + +commit 4f874ea20735d21f4c3aa517373d73fb66ab5c33 +Author: GitNaruto <19946254539@163.com> +Date: Sat Nov 26 15:28:36 2022 +0800 + + 发的 + +commit ade863f9c2d6fa9cc3a20f2b2f3636dd0079982c +Author: GitNaruto <19946254539@163.com> +Date: Sat Nov 26 15:22:43 2022 +0800 + + “ok” + +commit 61a6112297cd10647d577ff1e82539a3175eb6b7 +Author: GitNaruto <19946254539@163.com> +Date: Sat Nov 26 15:18:49 2022 +0800 + + “反对反对反对” + +commit 22cea2090fc7046c46e461a6da285b4ff3bfcaa8 +Author: GitNaruto <19946254539@163.com> +Date: Sat Nov 26 15:17:01 2022 +0800 + + haha + +commit ff0ce29232e205f737ea4236ff7be845985b1a18 +Author: WayV5 <115171820+WayV5@users.noreply.github.com> +Date: Sat Nov 26 15:13:59 2022 +0800 + + Create fd + +commit 111016aef93e18473a89585567c20eb5fff18ed0 +Merge: 97a24abe 875680c4 +Author: 程序员Carl +Date: Sat Nov 26 10:20:17 2022 +0800 + + Merge pull request #1754 from Jack-Zhang-1314/patch-15 + + Update 0104.二叉树的最大深度.md about rust + +commit 97a24abeb2a9f9949f5fecac8dfcd28e3421da63 +Merge: 73d55b1f 30a7d366 +Author: 程序员Carl +Date: Sat Nov 26 10:18:45 2022 +0800 + + Merge pull request #1753 from Jack-Zhang-1314/patch-12 + + Update 0101.对称二叉树.md about rust + +commit 73d55b1f5efce71762010c11b8518be7b79e3356 +Merge: 0330e486 9d087231 +Author: 程序员Carl +Date: Fri Nov 25 15:30:25 2022 +0800 + + Merge pull request #1752 from Jack-Zhang-1314/patch-11 + + Update 0226.翻转二叉树.md about rust + +commit 0330e4866d7c98958ac2aeb1747bd2ff8b90b4c6 +Merge: 35fbcb32 c1cac2c9 +Author: 程序员Carl +Date: Fri Nov 25 15:29:56 2022 +0800 + + Merge pull request #1751 from LookSin/my-commit + + 反转字符串Java其他解法 + +commit 35fbcb328a1df64d9e165dc97ce7c00b642d530f +Merge: c434e343 1afff796 +Author: 程序员Carl +Date: Fri Nov 25 15:27:26 2022 +0800 + + Merge pull request #1776 from juguagua/leetcode-modify-the-code-of-the-hash + + 修改完善哈希表部分代码和注释 + +commit a490c4b4fd7d3a2d22dfe2e20bb27dc55cd9d237 +Author: GitNaruto <19946254539@163.com> +Date: Fri Nov 25 15:00:03 2022 +0800 + + 添加0051N皇后Java版本(方法2) + +commit 1afff796691baa7424110fa326bc80fae5991364 +Merge: c1f1c1c4 c434e343 +Author: Yuhao Ju +Date: Thu Nov 24 22:14:50 2022 +0800 + + Merge branch 'youngyangyang04:master' into leetcode-modify-the-code-of-the-hash + +commit c1f1c1c42fbd24c1e1edeb8a27cd4ac6211b32d3 +Author: Yuhao Ju +Date: Thu Nov 24 22:12:59 2022 +0800 + + update 0018.四数之和 完善注释 + +commit dddbb95ea718c7dfd327b270b4686a745d1e848d +Author: Yuhao Ju +Date: Thu Nov 24 22:05:59 2022 +0800 + + update 0015.三数之和:完善注释,优化go代码风格 + +commit 983bb606d39c8ea5ab384d15d8c1bb226b65bce9 +Author: Yuhao Ju +Date: Thu Nov 24 21:51:48 2022 +0800 + + update 0383.赎金信: 完善注释 + +commit b0f84a4b357f1413118536e55f6c37c460d32674 +Author: Yuhao Ju +Date: Thu Nov 24 21:42:38 2022 +0800 + + update 0454.四数相加II:完善注释 + +commit 4796c816421924edff6bdc2521ae0880e2d80f39 +Author: Yuhao Ju +Date: Thu Nov 24 21:35:53 2022 +0800 + + update 0001.两数之和:加注释,给java代码一点优化 + +commit ac58e6613bd6a9d3e265e95e285c40b05bbc6f29 +Author: Yuhao Ju +Date: Thu Nov 24 21:26:09 2022 +0800 + + update 0349.两个数组的交集 修改python代码,删除冗余的go代码 + +commit e86fea0ec398e8161149377a0fc5c5480ae680d0 +Author: Yuhao Ju +Date: Thu Nov 24 21:07:05 2022 +0800 + + update 0242.有效的字母异位词:加java注释,删除质量较差且多余的go代码 + +commit c434e343a87924d06ef1660091756ed72c1a29a1 +Merge: feb3f9c2 f1c36e14 +Author: 程序员Carl +Date: Thu Nov 24 09:12:04 2022 +0800 + + Merge pull request #1749 from roylx/master + + Update 0376.摆动序列.md 增加python优化动态规划版 Update 0121.买卖股票的最佳时机.md 增加Python动态规划版本三 Update 0714.买卖股票的最佳时机含手续费 更新Python贪心,更容易理解 Update 0055.跳跃游戏.md 增加python for循环版 + +commit feb3f9c2aa7749f2814a72d058f9ae142e88bc28 +Merge: 14d0ddc3 d9950cee +Author: 程序员Carl +Date: Thu Nov 24 09:11:18 2022 +0800 + + Merge pull request #1775 from juguagua/leetcode-modify-the-code-of-the-linked-list + + 更新链表部分: 0707.设计链表 python代码,java注释 和 面试题02.07.链表相交 python代码 js注释 + +commit d9950cee1bb10cb826cd1522a951cbf9ceccba81 +Author: Yuhao Ju +Date: Thu Nov 24 00:15:31 2022 +0800 + + update 面试题02.07.链表相交 python代码 js注释 + +commit af0e45b9af2171db2a2b5ef005745463a9d739e3 +Author: Yuhao Ju +Date: Wed Nov 23 23:34:26 2022 +0800 + + update 0707.设计链表 python代码,java注释 + +commit 14d0ddc33de60360b0c25d6099425741448dd4dd +Merge: dd513bcf 75103a88 +Author: 程序员Carl +Date: Wed Nov 23 10:06:47 2022 +0800 + + Merge pull request #1748 from xu-kai-xu/master + + Update 链表理论基础.md + +commit dd513bcf2e672140c750ca9a9e5c105a9c492f9d +Merge: c94eb952 a2e84d93 +Author: 程序员Carl +Date: Wed Nov 23 10:06:20 2022 +0800 + + Merge pull request #1741 from Jack-Zhang-1314/patch-10 + + update 0102.二叉树的层序遍历.md about using vecdeque rust + +commit c94eb952baacf9e2dee7221df465200f76760179 +Merge: ee9837ff 24d7ad68 +Author: 程序员Carl +Date: Wed Nov 23 10:03:54 2022 +0800 + + Merge pull request #1740 from wantsnowfly/master + + 增加034二分查找 java解法 + +commit ee9837ff5c8ab5fccbe5c797a8d2982cd7a877ab +Merge: fd25f8f0 7746c7c2 +Author: 程序员Carl +Date: Wed Nov 23 10:02:25 2022 +0800 + + Merge pull request #1773 from juguagua/leetcode-modify-the-code-of-the-array + + 更新数组部分,0209.长度最小的子数组 python, js 代码 + +commit f1c36e140597a8f0c9ee2309eb413e3dfccd5800 +Merge: c0f1f136 fd25f8f0 +Author: roylx <73628821+roylx@users.noreply.github.com> +Date: Tue Nov 22 15:35:44 2022 -0700 + + Merge branch 'youngyangyang04:master' into master + +commit 7746c7c2bbe010bee987ca0eb9054f0d59737560 +Author: Yuhao Ju +Date: Tue Nov 22 22:27:35 2022 +0800 + + update 0209.长度最小的子数组 python, js 代码 + +commit cbe3bcf50a8633b2c07ff92b86b7bd9780d62848 +Author: Yuhao Ju +Date: Tue Nov 22 10:13:52 2022 +0800 + + update 027.移除元素 python代码 + +commit fd25f8f0af97df5ed3fdbbc6f4780b515d149c68 +Merge: 2224f82a ece7623d +Author: 程序员Carl +Date: Tue Nov 22 09:58:00 2022 +0800 + + Merge pull request #1744 from lihuacai168/master + + update 63不同路径II.md python + +commit 2224f82ab95ff228f03ed3b7c46ce0aa11f11308 \ No newline at end of file From abd6d9e9b846718416082cbc8c2c316f6ea82606 Mon Sep 17 00:00:00 2001 From: GitNaruto <19946254539@163.com> Date: Sat, 26 Nov 2022 20:15:35 +0800 Subject: [PATCH 11/11] =?UTF-8?q?=E4=B8=BA=E4=BB=80=E4=B9=88=E6=AF=8F?= =?UTF-8?q?=E6=AC=A1=E5=9C=A8=E8=87=AA=E5=B7=B1=E4=BB=93=E5=BA=93=E7=9A=84?= =?UTF-8?q?=E6=8F=90=E4=BA=A4=E9=83=BD=E4=BC=9A=E5=B9=B6=E5=88=B0pull=20re?= =?UTF-8?q?quest=E4=B8=AD=EF=BC=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...d 72bc4c40b2b8d4d47276a74f54f48ae58f925db5 | 250 ------------------ 1 file changed, 250 deletions(-) delete mode 100644 et --hard 72bc4c40b2b8d4d47276a74f54f48ae58f925db5 diff --git a/et --hard 72bc4c40b2b8d4d47276a74f54f48ae58f925db5 b/et --hard 72bc4c40b2b8d4d47276a74f54f48ae58f925db5 deleted file mode 100644 index 8f9dd9a0..00000000 --- a/et --hard 72bc4c40b2b8d4d47276a74f54f48ae58f925db5 +++ /dev/null @@ -1,250 +0,0 @@ -commit 4594221520698dd823f65481e286d4a9b228fe99 (HEAD -> master, origin/master, origin/HEAD) -Author: GitNaruto <19946254539@163.com> -Date: Sat Nov 26 19:47:37 2022 +0800 - - 修改 0037.解数独.md 错别字 - -commit 72bc4c40b2b8d4d47276a74f54f48ae58f925db5 -Author: GitNaruto <19946254539@163.com> -Date: Sat Nov 26 19:43:43 2022 +0800 - - update - -commit 65ff7ea4c8c5aef9d5c7b3070a66d1786aa2c2fb -Merge: abfce687 111016ae -Author: WayV5 <115171820+WayV5@users.noreply.github.com> -Date: Sat Nov 26 19:41:58 2022 +0800 - - Merge branch 'youngyangyang04:master' into master - -commit abfce6875ed8693df6c1d6b83aef35261da12556 -Author: GitNaruto <19946254539@163.com> -Date: Sat Nov 26 15:31:47 2022 +0800 - - fd - -commit 4f874ea20735d21f4c3aa517373d73fb66ab5c33 -Author: GitNaruto <19946254539@163.com> -Date: Sat Nov 26 15:28:36 2022 +0800 - - 发的 - -commit ade863f9c2d6fa9cc3a20f2b2f3636dd0079982c -Author: GitNaruto <19946254539@163.com> -Date: Sat Nov 26 15:22:43 2022 +0800 - - “ok” - -commit 61a6112297cd10647d577ff1e82539a3175eb6b7 -Author: GitNaruto <19946254539@163.com> -Date: Sat Nov 26 15:18:49 2022 +0800 - - “反对反对反对” - -commit 22cea2090fc7046c46e461a6da285b4ff3bfcaa8 -Author: GitNaruto <19946254539@163.com> -Date: Sat Nov 26 15:17:01 2022 +0800 - - haha - -commit ff0ce29232e205f737ea4236ff7be845985b1a18 -Author: WayV5 <115171820+WayV5@users.noreply.github.com> -Date: Sat Nov 26 15:13:59 2022 +0800 - - Create fd - -commit 111016aef93e18473a89585567c20eb5fff18ed0 -Merge: 97a24abe 875680c4 -Author: 程序员Carl -Date: Sat Nov 26 10:20:17 2022 +0800 - - Merge pull request #1754 from Jack-Zhang-1314/patch-15 - - Update 0104.二叉树的最大深度.md about rust - -commit 97a24abeb2a9f9949f5fecac8dfcd28e3421da63 -Merge: 73d55b1f 30a7d366 -Author: 程序员Carl -Date: Sat Nov 26 10:18:45 2022 +0800 - - Merge pull request #1753 from Jack-Zhang-1314/patch-12 - - Update 0101.对称二叉树.md about rust - -commit 73d55b1f5efce71762010c11b8518be7b79e3356 -Merge: 0330e486 9d087231 -Author: 程序员Carl -Date: Fri Nov 25 15:30:25 2022 +0800 - - Merge pull request #1752 from Jack-Zhang-1314/patch-11 - - Update 0226.翻转二叉树.md about rust - -commit 0330e4866d7c98958ac2aeb1747bd2ff8b90b4c6 -Merge: 35fbcb32 c1cac2c9 -Author: 程序员Carl -Date: Fri Nov 25 15:29:56 2022 +0800 - - Merge pull request #1751 from LookSin/my-commit - - 反转字符串Java其他解法 - -commit 35fbcb328a1df64d9e165dc97ce7c00b642d530f -Merge: c434e343 1afff796 -Author: 程序员Carl -Date: Fri Nov 25 15:27:26 2022 +0800 - - Merge pull request #1776 from juguagua/leetcode-modify-the-code-of-the-hash - - 修改完善哈希表部分代码和注释 - -commit a490c4b4fd7d3a2d22dfe2e20bb27dc55cd9d237 -Author: GitNaruto <19946254539@163.com> -Date: Fri Nov 25 15:00:03 2022 +0800 - - 添加0051N皇后Java版本(方法2) - -commit 1afff796691baa7424110fa326bc80fae5991364 -Merge: c1f1c1c4 c434e343 -Author: Yuhao Ju -Date: Thu Nov 24 22:14:50 2022 +0800 - - Merge branch 'youngyangyang04:master' into leetcode-modify-the-code-of-the-hash - -commit c1f1c1c42fbd24c1e1edeb8a27cd4ac6211b32d3 -Author: Yuhao Ju -Date: Thu Nov 24 22:12:59 2022 +0800 - - update 0018.四数之和 完善注释 - -commit dddbb95ea718c7dfd327b270b4686a745d1e848d -Author: Yuhao Ju -Date: Thu Nov 24 22:05:59 2022 +0800 - - update 0015.三数之和:完善注释,优化go代码风格 - -commit 983bb606d39c8ea5ab384d15d8c1bb226b65bce9 -Author: Yuhao Ju -Date: Thu Nov 24 21:51:48 2022 +0800 - - update 0383.赎金信: 完善注释 - -commit b0f84a4b357f1413118536e55f6c37c460d32674 -Author: Yuhao Ju -Date: Thu Nov 24 21:42:38 2022 +0800 - - update 0454.四数相加II:完善注释 - -commit 4796c816421924edff6bdc2521ae0880e2d80f39 -Author: Yuhao Ju -Date: Thu Nov 24 21:35:53 2022 +0800 - - update 0001.两数之和:加注释,给java代码一点优化 - -commit ac58e6613bd6a9d3e265e95e285c40b05bbc6f29 -Author: Yuhao Ju -Date: Thu Nov 24 21:26:09 2022 +0800 - - update 0349.两个数组的交集 修改python代码,删除冗余的go代码 - -commit e86fea0ec398e8161149377a0fc5c5480ae680d0 -Author: Yuhao Ju -Date: Thu Nov 24 21:07:05 2022 +0800 - - update 0242.有效的字母异位词:加java注释,删除质量较差且多余的go代码 - -commit c434e343a87924d06ef1660091756ed72c1a29a1 -Merge: feb3f9c2 f1c36e14 -Author: 程序员Carl -Date: Thu Nov 24 09:12:04 2022 +0800 - - Merge pull request #1749 from roylx/master - - Update 0376.摆动序列.md 增加python优化动态规划版 Update 0121.买卖股票的最佳时机.md 增加Python动态规划版本三 Update 0714.买卖股票的最佳时机含手续费 更新Python贪心,更容易理解 Update 0055.跳跃游戏.md 增加python for循环版 - -commit feb3f9c2aa7749f2814a72d058f9ae142e88bc28 -Merge: 14d0ddc3 d9950cee -Author: 程序员Carl -Date: Thu Nov 24 09:11:18 2022 +0800 - - Merge pull request #1775 from juguagua/leetcode-modify-the-code-of-the-linked-list - - 更新链表部分: 0707.设计链表 python代码,java注释 和 面试题02.07.链表相交 python代码 js注释 - -commit d9950cee1bb10cb826cd1522a951cbf9ceccba81 -Author: Yuhao Ju -Date: Thu Nov 24 00:15:31 2022 +0800 - - update 面试题02.07.链表相交 python代码 js注释 - -commit af0e45b9af2171db2a2b5ef005745463a9d739e3 -Author: Yuhao Ju -Date: Wed Nov 23 23:34:26 2022 +0800 - - update 0707.设计链表 python代码,java注释 - -commit 14d0ddc33de60360b0c25d6099425741448dd4dd -Merge: dd513bcf 75103a88 -Author: 程序员Carl -Date: Wed Nov 23 10:06:47 2022 +0800 - - Merge pull request #1748 from xu-kai-xu/master - - Update 链表理论基础.md - -commit dd513bcf2e672140c750ca9a9e5c105a9c492f9d -Merge: c94eb952 a2e84d93 -Author: 程序员Carl -Date: Wed Nov 23 10:06:20 2022 +0800 - - Merge pull request #1741 from Jack-Zhang-1314/patch-10 - - update 0102.二叉树的层序遍历.md about using vecdeque rust - -commit c94eb952baacf9e2dee7221df465200f76760179 -Merge: ee9837ff 24d7ad68 -Author: 程序员Carl -Date: Wed Nov 23 10:03:54 2022 +0800 - - Merge pull request #1740 from wantsnowfly/master - - 增加034二分查找 java解法 - -commit ee9837ff5c8ab5fccbe5c797a8d2982cd7a877ab -Merge: fd25f8f0 7746c7c2 -Author: 程序员Carl -Date: Wed Nov 23 10:02:25 2022 +0800 - - Merge pull request #1773 from juguagua/leetcode-modify-the-code-of-the-array - - 更新数组部分,0209.长度最小的子数组 python, js 代码 - -commit f1c36e140597a8f0c9ee2309eb413e3dfccd5800 -Merge: c0f1f136 fd25f8f0 -Author: roylx <73628821+roylx@users.noreply.github.com> -Date: Tue Nov 22 15:35:44 2022 -0700 - - Merge branch 'youngyangyang04:master' into master - -commit 7746c7c2bbe010bee987ca0eb9054f0d59737560 -Author: Yuhao Ju -Date: Tue Nov 22 22:27:35 2022 +0800 - - update 0209.长度最小的子数组 python, js 代码 - -commit cbe3bcf50a8633b2c07ff92b86b7bd9780d62848 -Author: Yuhao Ju -Date: Tue Nov 22 10:13:52 2022 +0800 - - update 027.移除元素 python代码 - -commit fd25f8f0af97df5ed3fdbbc6f4780b515d149c68 -Merge: 2224f82a ece7623d -Author: 程序员Carl -Date: Tue Nov 22 09:58:00 2022 +0800 - - Merge pull request #1744 from lihuacai168/master - - update 63不同路径II.md python - -commit 2224f82ab95ff228f03ed3b7c46ce0aa11f11308 \ No newline at end of file