From e3c003b9ff998c66d12ce2972f8c85f845501d19 Mon Sep 17 00:00:00 2001 From: yanglbme Date: Mon, 4 Jul 2022 09:00:01 +0800 Subject: [PATCH] style: format code and documents --- lcci/16.10.Living People/README.md | 1 - lcci/16.10.Living People/README_EN.md | 1 - .../README.md" | 2 +- .../README.md | 2 +- .../README_EN.md | 2 +- .../0300-0399/0336.Palindrome Pairs/README.md | 2 -- .../README.md | 4 ++-- solution/0500-0599/0554.Brick Wall/README.md | 2 -- .../0745.Prefix and Suffix Search/README.md | 2 -- .../README.md | 2 -- .../0830.Positions of Large Groups/README.md | 2 -- .../README.md | 4 ++-- .../README_EN.md | 4 ++-- .../README.md | 5 +++-- .../README_EN.md | 5 +++-- .../README.md | 1 - .../README_EN.md | 1 - .../2325.Decode the Message/README.md | 5 +++-- .../2325.Decode the Message/README_EN.md | 5 +++-- .../2325.Decode the Message/Solution.ts | 5 +++-- .../2300-2399/2326.Spiral Matrix IV/README.md | 15 ++++++++++---- .../2326.Spiral Matrix IV/README_EN.md | 15 ++++++++++---- .../2326.Spiral Matrix IV/Solution.ts | 15 ++++++++++---- .../README.md | 2 +- .../README_EN.md | 2 +- .../Solution.ts | 2 +- .../README.md | 20 +++++++++++++------ .../README_EN.md | 20 +++++++++++++------ .../Solution.ts | 20 +++++++++++++------ 29 files changed, 102 insertions(+), 66 deletions(-) diff --git a/lcci/16.10.Living People/README.md b/lcci/16.10.Living People/README.md index 6bfc7ae73eaf1..211a2e9157429 100644 --- a/lcci/16.10.Living People/README.md +++ b/lcci/16.10.Living People/README.md @@ -116,7 +116,6 @@ function maxAliveYear(birth: number[], death: number[]): number { } return res; } - ``` ### **Rust** diff --git a/lcci/16.10.Living People/README_EN.md b/lcci/16.10.Living People/README_EN.md index 147c9899530e5..6e1af1be7d688 100644 --- a/lcci/16.10.Living People/README_EN.md +++ b/lcci/16.10.Living People/README_EN.md @@ -111,7 +111,6 @@ function maxAliveYear(birth: number[], death: number[]): number { } return res; } - ``` ### **Rust** diff --git "a/lcp/LCP 34. \344\272\214\345\217\211\346\240\221\346\237\223\350\211\262/README.md" "b/lcp/LCP 34. \344\272\214\345\217\211\346\240\221\346\237\223\350\211\262/README.md" index 590835e07cef3..daf042fa87c82 100644 --- "a/lcp/LCP 34. \344\272\214\345\217\211\346\240\221\346\237\223\350\211\262/README.md" +++ "b/lcp/LCP 34. \344\272\214\345\217\211\346\240\221\346\237\223\350\211\262/README.md" @@ -61,7 +61,7 @@ class Solution: for j in range(k + 1): ans[0] = max(ans[0], l[i] + r[j]) return ans - + return max(dfs(root)) ``` diff --git a/solution/0200-0299/0241.Different Ways to Add Parentheses/README.md b/solution/0200-0299/0241.Different Ways to Add Parentheses/README.md index 2f2107b08e349..ec13006165a22 100644 --- a/solution/0200-0299/0241.Different Ways to Add Parentheses/README.md +++ b/solution/0200-0299/0241.Different Ways to Add Parentheses/README.md @@ -77,7 +77,7 @@ class Solution: else: ans.append(a * b) return ans - + return dfs(expression) ``` diff --git a/solution/0200-0299/0241.Different Ways to Add Parentheses/README_EN.md b/solution/0200-0299/0241.Different Ways to Add Parentheses/README_EN.md index 79895d3365bcc..a8ed95755e2f4 100644 --- a/solution/0200-0299/0241.Different Ways to Add Parentheses/README_EN.md +++ b/solution/0200-0299/0241.Different Ways to Add Parentheses/README_EN.md @@ -67,7 +67,7 @@ class Solution: else: ans.append(a * b) return ans - + return dfs(expression) ``` diff --git a/solution/0300-0399/0336.Palindrome Pairs/README.md b/solution/0300-0399/0336.Palindrome Pairs/README.md index 75677385bb6c5..4934210a59e60 100644 --- a/solution/0300-0399/0336.Palindrome Pairs/README.md +++ b/solution/0300-0399/0336.Palindrome Pairs/README.md @@ -32,8 +32,6 @@ 输出:[[0,1],[1,0]] - -

提示: