diff --git a/README.md b/README.md index 527b672..aecee5b 100644 --- a/README.md +++ b/README.md @@ -52,8 +52,8 @@ docsify serve ./docs | 201~218 | 胡锐锋 | 已完成 | | 200分题 001~023 | 周理璇、胡锐锋 | 已完成 | | 200分题 024~046 | 李碧涵、胡锐锋 | 已完成 | -| 265~290 | 胡锐锋 | 已完成 | -| 291~313 | 李昌盛、胡锐锋 | 已完成 | +| 精选100分题 001~027 | 胡锐锋 | 已完成 | +| 精选100分题 028~050 | 李昌盛、胡锐锋 | 已完成 | ## 项目结构 diff --git a/codes/choice100/265_AI-Processor-Combination.py b/codes/choice100/001_AI-Processor-Combination.py similarity index 96% rename from codes/choice100/265_AI-Processor-Combination.py rename to codes/choice100/001_AI-Processor-Combination.py index 1d6673e..0451661 100644 --- a/codes/choice100/265_AI-Processor-Combination.py +++ b/codes/choice100/001_AI-Processor-Combination.py @@ -2,10 +2,10 @@ # encoding: utf-8 """ @author: HuRuiFeng -@file: 265_AI-Processor-Combination.py +@file: 001_AI-Processor-Combination.py @time: 2023/7/11 15:58 @project: huawei-od-python -@desc: 265 AI处理器组合 +@desc: 001 AI处理器组合 """ from itertools import combinations diff --git a/codes/choice100/266_task-execute-total-time.py b/codes/choice100/002_task-execute-total-time.py similarity index 87% rename from codes/choice100/266_task-execute-total-time.py rename to codes/choice100/002_task-execute-total-time.py index 9887071..3b3aae7 100644 --- a/codes/choice100/266_task-execute-total-time.py +++ b/codes/choice100/002_task-execute-total-time.py @@ -2,10 +2,10 @@ # encoding: utf-8 """ @author: HuRuiFeng -@file: 266_task-execute-total-time.py +@file: 002_task-execute-total-time.py @time: 2023/7/11 23:08 @project: huawei-od-python -@desc: 266 任务总执行时长 +@desc: 002 任务总执行时长 """ diff --git a/codes/choice100/267_count-outstanding-students.py b/codes/choice100/003_count-outstanding-students.py similarity index 98% rename from codes/choice100/267_count-outstanding-students.py rename to codes/choice100/003_count-outstanding-students.py index 659a299..4a7be7a 100644 --- a/codes/choice100/267_count-outstanding-students.py +++ b/codes/choice100/003_count-outstanding-students.py @@ -2,10 +2,10 @@ # encoding: utf-8 """ @author: HuRuiFeng -@file: 267_count-outstanding-students.py +@file: 003_count-outstanding-students.py @time: 2023/7/11 23:49 @project: huawei-od-python -@desc: 267 优秀学员统计 +@desc: 003 优秀学员统计 """ diff --git a/codes/choice100/268_PV-site-construction-plan.py b/codes/choice100/004_PV-site-construction-plan.py similarity index 93% rename from codes/choice100/268_PV-site-construction-plan.py rename to codes/choice100/004_PV-site-construction-plan.py index 2eacc13..b1bde57 100644 --- a/codes/choice100/268_PV-site-construction-plan.py +++ b/codes/choice100/004_PV-site-construction-plan.py @@ -2,10 +2,10 @@ # encoding: utf-8 """ @author: HuRuiFeng -@file: 268_PV-site-construction-plan.py +@file: 004_PV-site-construction-plan.py @time: 2023/7/12 11:06 @project: huawei-od-python -@desc: 268 光伏场地建设规划 +@desc: 004 光伏场地建设规划 """ diff --git a/codes/choice100/269_anonymous-letter.py b/codes/choice100/005_anonymous-letter.py similarity index 94% rename from codes/choice100/269_anonymous-letter.py rename to codes/choice100/005_anonymous-letter.py index 501c6e1..f5c5563 100644 --- a/codes/choice100/269_anonymous-letter.py +++ b/codes/choice100/005_anonymous-letter.py @@ -2,10 +2,10 @@ # encoding: utf-8 """ @author: HuRuiFeng -@file: 269_anonymous-letter.py +@file: 005_anonymous-letter.py @time: 2023/7/12 11:39 @project: huawei-od-python -@desc: 269 匿名信 +@desc: 005 匿名信 """ diff --git a/codes/choice100/270_reverse-words.py b/codes/choice100/006_reverse-words.py similarity index 92% rename from codes/choice100/270_reverse-words.py rename to codes/choice100/006_reverse-words.py index 304e5b6..bf5e705 100644 --- a/codes/choice100/270_reverse-words.py +++ b/codes/choice100/006_reverse-words.py @@ -2,10 +2,10 @@ # encoding: utf-8 """ @author: HuRuiFeng -@file: 270_reverse-words.py +@file: 006_reverse-words.py @time: 2023/7/12 14:35 @project: huawei-od-python -@desc: 270 单词倒序 +@desc: 006 单词倒序 """ diff --git a/codes/choice100/271_base-station-maintenance-engineer.py b/codes/choice100/007_base-station-maintenance-engineer.py similarity index 92% rename from codes/choice100/271_base-station-maintenance-engineer.py rename to codes/choice100/007_base-station-maintenance-engineer.py index 611f9c1..10fe88f 100644 --- a/codes/choice100/271_base-station-maintenance-engineer.py +++ b/codes/choice100/007_base-station-maintenance-engineer.py @@ -2,10 +2,10 @@ # encoding: utf-8 """ @author: HuRuiFeng -@file: 271_base-station-maintenance-engineer.py +@file: 007_base-station-maintenance-engineer.py @time: 2023/7/12 15:29 @project: huawei-od-python -@desc: 271 基站维修工程师 +@desc: 007 基站维修工程师 """ import math diff --git a/codes/choice100/271_find-duplicate-codes.py b/codes/choice100/008_find-duplicate-codes.py similarity index 90% rename from codes/choice100/271_find-duplicate-codes.py rename to codes/choice100/008_find-duplicate-codes.py index 96ac9a3..f9a715e 100644 --- a/codes/choice100/271_find-duplicate-codes.py +++ b/codes/choice100/008_find-duplicate-codes.py @@ -2,10 +2,10 @@ # encoding: utf-8 """ @author: HuRuiFeng -@file: 271_find-duplicate-codes.py +@file: 008_find-duplicate-codes.py @time: 2023/7/12 20:24 @project: huawei-od-python -@desc: 271 找出重复代码(最长公共子序列) +@desc: 008 找出重复代码(最长公共子序列) """ diff --git a/codes/choice100/272_decrypt-string.py b/codes/choice100/009_decrypt-string.py similarity index 94% rename from codes/choice100/272_decrypt-string.py rename to codes/choice100/009_decrypt-string.py index 152ff5f..b471c33 100644 --- a/codes/choice100/272_decrypt-string.py +++ b/codes/choice100/009_decrypt-string.py @@ -2,10 +2,10 @@ # encoding: utf-8 """ @author: HuRuiFeng -@file: 272_decrypt-string.py +@file: 009_decrypt-string.py @time: 2023/7/13 11:10 @project: huawei-od-python -@desc: 272 字符串解密加扰字符串 +@desc: 009 字符串解密加扰字符串 """ import re diff --git a/codes/choice100/273_rearrange-string.py b/codes/choice100/010_rearrange-string.py similarity index 92% rename from codes/choice100/273_rearrange-string.py rename to codes/choice100/010_rearrange-string.py index ac10330..67f9fc9 100644 --- a/codes/choice100/273_rearrange-string.py +++ b/codes/choice100/010_rearrange-string.py @@ -2,10 +2,10 @@ # encoding: utf-8 """ @author: HuRuiFeng -@file: 273_rearrange-string.py +@file: 010_rearrange-string.py @time: 2023/7/13 14:23 @project: huawei-od-python -@desc: 273 字符串重新排序 +@desc: 010 字符串重新排序 """ from collections import defaultdict diff --git a/codes/choice100/274_symmetric-string.py b/codes/choice100/011_symmetric-string.py similarity index 95% rename from codes/choice100/274_symmetric-string.py rename to codes/choice100/011_symmetric-string.py index c39d020..2dc9157 100644 --- a/codes/choice100/274_symmetric-string.py +++ b/codes/choice100/011_symmetric-string.py @@ -2,10 +2,10 @@ # encoding: utf-8 """ @author: HuRuiFeng -@file: 274_symmetric-string.py +@file: 011_symmetric-string.py @time: 2023/7/13 18:55 @project: huawei-od-python -@desc: 274 对称美学 +@desc: 011 对称美学 """ diff --git a/codes/choice100/275_find-important-keys.py b/codes/choice100/012_find-important-keys.py similarity index 92% rename from codes/choice100/275_find-important-keys.py rename to codes/choice100/012_find-important-keys.py index 08304fe..aad3398 100644 --- a/codes/choice100/275_find-important-keys.py +++ b/codes/choice100/012_find-important-keys.py @@ -2,10 +2,10 @@ # encoding: utf-8 """ @author: HuRuiFeng -@file: 275_find-important-keys.py +@file: 012_find-important-keys.py @time: 2023/7/13 19:55 @project: huawei-od-python -@desc: 275 寻找关键钥匙 +@desc: 012 寻找关键钥匙 """ diff --git a/codes/choice100/276_find-key.py b/codes/choice100/013_find-key.py similarity index 95% rename from codes/choice100/276_find-key.py rename to codes/choice100/013_find-key.py index 20d1184..bfbbb36 100644 --- a/codes/choice100/276_find-key.py +++ b/codes/choice100/013_find-key.py @@ -2,10 +2,10 @@ # encoding: utf-8 """ @author: HuRuiFeng -@file: 276_find-key.py +@file: 013_find-key.py @time: 2023/7/13 20:27 @project: huawei-od-python -@desc: 276 寻找密码 +@desc: 013 寻找密码 """ diff --git a/codes/choice100/277_find-the-middle-node-of-the-linked-list.py b/codes/choice100/014_find-the-middle-node-of-the-linked-list.py similarity index 90% rename from codes/choice100/277_find-the-middle-node-of-the-linked-list.py rename to codes/choice100/014_find-the-middle-node-of-the-linked-list.py index a8090cc..8012c1f 100644 --- a/codes/choice100/277_find-the-middle-node-of-the-linked-list.py +++ b/codes/choice100/014_find-the-middle-node-of-the-linked-list.py @@ -2,10 +2,10 @@ # encoding: utf-8 """ @author: HuRuiFeng -@file: 277_find-the-middle-node-of-the-linked-list.py +@file: 014_find-the-middle-node-of-the-linked-list.py @time: 2023/7/13 20:55 @project: huawei-od-python -@desc: 277 寻找链表的中间结点 +@desc: 014 寻找链表的中间结点 """ diff --git a/codes/choice100/278_have-fun.py b/codes/choice100/015_have-fun.py similarity index 96% rename from codes/choice100/278_have-fun.py rename to codes/choice100/015_have-fun.py index 9e29a54..dcaea01 100644 --- a/codes/choice100/278_have-fun.py +++ b/codes/choice100/015_have-fun.py @@ -2,10 +2,10 @@ # encoding: utf-8 """ @author: HuRuiFeng -@file: 278_have-fun.py +@file: 015_have-fun.py @time: 2023/7/13 21:18 @project: huawei-od-python -@desc: 278 开心消消乐 +@desc: 015 开心消消乐 """ diff --git a/codes/choice100/279_abnormal-attendance-records.py b/codes/choice100/016_abnormal-attendance-records.py similarity index 97% rename from codes/choice100/279_abnormal-attendance-records.py rename to codes/choice100/016_abnormal-attendance-records.py index 2d60442..fe079fe 100644 --- a/codes/choice100/279_abnormal-attendance-records.py +++ b/codes/choice100/016_abnormal-attendance-records.py @@ -2,10 +2,10 @@ # encoding: utf-8 """ @author: HuRuiFeng -@file: 279_abnormal-attendance-records.py +@file: 016_abnormal-attendance-records.py @time: 2023/7/14 9:29 @project: huawei-od-python -@desc: 279 异常的打卡记录 +@desc: 016 异常的打卡记录 """ diff --git a/codes/choice100/280_integration-testing-of-microservices.py b/codes/choice100/017_integration-testing-of-microservices.py similarity index 93% rename from codes/choice100/280_integration-testing-of-microservices.py rename to codes/choice100/017_integration-testing-of-microservices.py index 51d9f06..51cef29 100644 --- a/codes/choice100/280_integration-testing-of-microservices.py +++ b/codes/choice100/017_integration-testing-of-microservices.py @@ -2,10 +2,10 @@ # encoding: utf-8 """ @author: HuRuiFeng -@file: 280_integration-testing-of-microservices.py +@file: 017_integration-testing-of-microservices.py @time: 2023/7/14 11:41 @project: huawei-od-python -@desc: 280 微服务的集成测试 +@desc: 017 微服务的集成测试 """ diff --git a/codes/choice100/281_print-file.py b/codes/choice100/018_print-file.py similarity index 96% rename from codes/choice100/281_print-file.py rename to codes/choice100/018_print-file.py index f93136c..9365755 100644 --- a/codes/choice100/281_print-file.py +++ b/codes/choice100/018_print-file.py @@ -2,10 +2,10 @@ # encoding: utf-8 """ @author: HuRuiFeng -@file: 281_print-file.py +@file: 018_print-file.py @time: 2023/7/14 14:00 @project: huawei-od-python -@desc: 281 打印文件 +@desc: 018 打印文件 """ import heapq diff --git a/codes/choice100/282_count-vehicle-colors.py b/codes/choice100/019_count-vehicle-colors.py similarity index 90% rename from codes/choice100/282_count-vehicle-colors.py rename to codes/choice100/019_count-vehicle-colors.py index 69f20f7..9edd173 100644 --- a/codes/choice100/282_count-vehicle-colors.py +++ b/codes/choice100/019_count-vehicle-colors.py @@ -2,10 +2,10 @@ # encoding: utf-8 """ @author: HuRuiFeng -@file: 282_count-vehicle-colors.py +@file: 019_count-vehicle-colors.py @time: 2023/7/14 15:31 @project: huawei-od-python -@desc: 282 找出通过车辆最多颜色 +@desc: 019 找出通过车辆最多颜色 """ import collections diff --git a/codes/choice100/283_find-number.py b/codes/choice100/020_find-number.py similarity index 96% rename from codes/choice100/283_find-number.py rename to codes/choice100/020_find-number.py index 7246faf..3ab3284 100644 --- a/codes/choice100/283_find-number.py +++ b/codes/choice100/020_find-number.py @@ -2,10 +2,10 @@ # encoding: utf-8 """ @author: HuRuiFeng -@file: 283_find-number.py +@file: 020_find-number.py @time: 2023/7/14 16:12 @project: huawei-od-python -@desc: 283 找数字 +@desc: 020 找数字 """ import math from collections import defaultdict diff --git a/codes/choice100/284_shooting-competition.py b/codes/choice100/021_shooting-competition.py similarity index 94% rename from codes/choice100/284_shooting-competition.py rename to codes/choice100/021_shooting-competition.py index 4dbc43c..4ffddec 100644 --- a/codes/choice100/284_shooting-competition.py +++ b/codes/choice100/021_shooting-competition.py @@ -2,10 +2,10 @@ # encoding: utf-8 """ @author: HuRuiFeng -@file: 284_shooting-competition.py +@file: 021_shooting-competition.py @time: 2023/7/14 17:22 @project: huawei-od-python -@desc: 284 投篮大赛 +@desc: 021 投篮大赛 """ diff --git a/codes/choice100/285_the-middle-position-of-array.py b/codes/choice100/022_the-middle-position-of-array.py similarity index 88% rename from codes/choice100/285_the-middle-position-of-array.py rename to codes/choice100/022_the-middle-position-of-array.py index d39fd73..1a5c372 100644 --- a/codes/choice100/285_the-middle-position-of-array.py +++ b/codes/choice100/022_the-middle-position-of-array.py @@ -2,10 +2,10 @@ # encoding: utf-8 """ @author: HuRuiFeng -@file: 285_the-middle-position-of-array.py +@file: 022_the-middle-position-of-array.py @time: 2023/7/14 17:53 @project: huawei-od-python -@desc: 285 数组的中心位置 +@desc: 022 数组的中心位置 """ from functools import reduce diff --git a/codes/choice100/286_adjust-poker.py b/codes/choice100/023_adjust-poker.py similarity index 96% rename from codes/choice100/286_adjust-poker.py rename to codes/choice100/023_adjust-poker.py index 38e380a..82a68e7 100644 --- a/codes/choice100/286_adjust-poker.py +++ b/codes/choice100/023_adjust-poker.py @@ -2,10 +2,10 @@ # encoding: utf-8 """ @author: HuRuiFeng -@file: 286_adjust-poker.py +@file: 023_adjust-poker.py @time: 2023/7/14 18:27 @project: huawei-od-python -@desc: 286 整理扑克牌 +@desc: 023 整理扑克牌 """ import collections diff --git a/codes/choice100/287_seat-assignment.py b/codes/choice100/024_seat-assignment.py similarity index 92% rename from codes/choice100/287_seat-assignment.py rename to codes/choice100/024_seat-assignment.py index 80c7bf4..a4d4125 100644 --- a/codes/choice100/287_seat-assignment.py +++ b/codes/choice100/024_seat-assignment.py @@ -2,10 +2,10 @@ # encoding: utf-8 """ @author: HuRuiFeng -@file: 287_seat-assignment.py +@file: 024_seat-assignment.py @time: 2023/7/14 20:03 @project: huawei-od-python -@desc: 287 新员工座位安排系统 +@desc: 024 新员工座位安排系统 """ diff --git a/codes/choice100/288_choose-location-of-the-new-school.py b/codes/choice100/025_choose-location-of-the-new-school.py similarity index 82% rename from codes/choice100/288_choose-location-of-the-new-school.py rename to codes/choice100/025_choose-location-of-the-new-school.py index 2f812fa..6545412 100644 --- a/codes/choice100/288_choose-location-of-the-new-school.py +++ b/codes/choice100/025_choose-location-of-the-new-school.py @@ -2,10 +2,10 @@ # encoding: utf-8 """ @author: HuRuiFeng -@file: 288_choose-location-of-the-new-school.py +@file: 025_choose-location-of-the-new-school.py @time: 2023/7/14 20:24 @project: huawei-od-python -@desc: 288 新学校选址 +@desc: 025 新学校选址 """ diff --git a/codes/choice100/289_log-collection-system.py b/codes/choice100/026_log-collection-system.py similarity index 92% rename from codes/choice100/289_log-collection-system.py rename to codes/choice100/026_log-collection-system.py index 361c931..8b6fca1 100644 --- a/codes/choice100/289_log-collection-system.py +++ b/codes/choice100/026_log-collection-system.py @@ -2,10 +2,10 @@ # encoding: utf-8 """ @author: HuRuiFeng -@file: 289_log-collection-system.py +@file: 026_log-collection-system.py @time: 2023/7/14 23:04 @project: huawei-od-python -@desc: 289 日志采集系统 +@desc: 026 日志采集系统 """ diff --git a/codes/choice100/290_star-basketball-competition.py b/codes/choice100/027_star-basketball-competition.py similarity index 93% rename from codes/choice100/290_star-basketball-competition.py rename to codes/choice100/027_star-basketball-competition.py index e9e5e6c..440f246 100644 --- a/codes/choice100/290_star-basketball-competition.py +++ b/codes/choice100/027_star-basketball-competition.py @@ -2,10 +2,10 @@ # encoding: utf-8 """ @author: HuRuiFeng -@file: 290_star-basketball-competition.py +@file: 027_star-basketball-competition.py @time: 2023/7/15 1:07 @project: huawei-od-python -@desc: 290 星际篮球争霸赛 +@desc: 027 星际篮球争霸赛 """ diff --git a/codes/choice100/291_maximum-number-of-substrings-extracted.py b/codes/choice100/028_maximum-number-of-substrings-extracted.py similarity index 92% rename from codes/choice100/291_maximum-number-of-substrings-extracted.py rename to codes/choice100/028_maximum-number-of-substrings-extracted.py index cda364a..9ab98cf 100644 --- a/codes/choice100/291_maximum-number-of-substrings-extracted.py +++ b/codes/choice100/028_maximum-number-of-substrings-extracted.py @@ -2,10 +2,10 @@ # encoding: utf-8 """ @author: Jack Lee C.S. -@file: 291_maximum-number-of-substrings-extracted.py +@file: 028_maximum-number-of-substrings-extracted.py @time: 2023/07/12 10:59 @project: huawei-od-python -@desc: 291 最多提取子串数目 +@desc: 028 最多提取子串数目 """ diff --git a/codes/choice100/292_max-salary.py b/codes/choice100/029_max-salary.py similarity index 93% rename from codes/choice100/292_max-salary.py rename to codes/choice100/029_max-salary.py index 08c4d4a..c2947de 100644 --- a/codes/choice100/292_max-salary.py +++ b/codes/choice100/029_max-salary.py @@ -2,10 +2,10 @@ # encoding: utf-8 """ @author: Jack Lee C.S. -@file: 292_max-salary.py +@file: 029_max-salary.py @time: 2023/07/12 14:39 @project: huawei-od-python -@desc: 292 最大报酬 +@desc: 029 最大报酬 """ diff --git a/codes/choice100/293_minimum-applicator-energy-efficiency.py b/codes/choice100/030_minimum-applicator-energy-efficiency.py similarity index 89% rename from codes/choice100/293_minimum-applicator-energy-efficiency.py rename to codes/choice100/030_minimum-applicator-energy-efficiency.py index 87a734c..155235a 100644 --- a/codes/choice100/293_minimum-applicator-energy-efficiency.py +++ b/codes/choice100/030_minimum-applicator-energy-efficiency.py @@ -2,10 +2,10 @@ # encoding: utf-8 """ @author: HuRuiFeng -@file: 293_minimum-applicator-energy-efficiency.py +@file: 030_minimum-applicator-energy-efficiency.py @time: 2023/7/31 18:38 @project: huawei-od-python -@desc: 293 最小施肥机能效 +@desc: 030 最小施肥机能效 """ diff --git a/codes/choice100/294_leftmost-redundant-overlay-substring.py b/codes/choice100/031_leftmost-redundant-overlay-substring.py similarity index 83% rename from codes/choice100/294_leftmost-redundant-overlay-substring.py rename to codes/choice100/031_leftmost-redundant-overlay-substring.py index c2780d4..63fc331 100644 --- a/codes/choice100/294_leftmost-redundant-overlay-substring.py +++ b/codes/choice100/031_leftmost-redundant-overlay-substring.py @@ -2,10 +2,10 @@ # encoding: utf-8 """ @author: HuRuiFeng -@file: 294_leftmost-redundant-overlay-substring.py +@file: 031_leftmost-redundant-overlay-substring.py @time: 2023/7/31 20:38 @project: huawei-od-python -@desc: 294 最左侧冗余覆盖子串 +@desc: 031 最左侧冗余覆盖子串 """ from collections import Counter diff --git a/codes/choice100/295_min-board-length.py b/codes/choice100/032_min-board-length.py similarity index 91% rename from codes/choice100/295_min-board-length.py rename to codes/choice100/032_min-board-length.py index fa2ecc7..b39c4bf 100644 --- a/codes/choice100/295_min-board-length.py +++ b/codes/choice100/032_min-board-length.py @@ -2,10 +2,10 @@ # encoding: utf-8 """ @author: HuRuiFeng -@file: 295_min-board-length.py +@file: 032_min-board-length.py @time: 2023/7/31 21:45 @project: huawei-od-python -@desc: 295 最短木板长度 +@desc: 032 最短木板长度 """ diff --git a/codes/choice100/296_find-charging-device-combinations.py b/codes/choice100/033_find-charging-device-combinations.py similarity index 91% rename from codes/choice100/296_find-charging-device-combinations.py rename to codes/choice100/033_find-charging-device-combinations.py index 112cd1a..23d059c 100644 --- a/codes/choice100/296_find-charging-device-combinations.py +++ b/codes/choice100/033_find-charging-device-combinations.py @@ -2,10 +2,10 @@ # encoding: utf-8 """ @author: HuRuiFeng -@file: 296_find-charging-device-combinations.py +@file: 033_find-charging-device-combinations.py @time: 2023/8/1 10:53 @project: huawei-od-python -@desc: 296 查找充电设备组合 +@desc: 033 查找充电设备组合 """ diff --git a/codes/choice100/297_finds-a-single-entry-free-area.py b/codes/choice100/034_finds-a-single-entry-free-area.py similarity index 96% rename from codes/choice100/297_finds-a-single-entry-free-area.py rename to codes/choice100/034_finds-a-single-entry-free-area.py index 3bae783..1933a33 100644 --- a/codes/choice100/297_finds-a-single-entry-free-area.py +++ b/codes/choice100/034_finds-a-single-entry-free-area.py @@ -2,10 +2,10 @@ # encoding: utf-8 """ @author: HuRuiFeng -@file: 297_finds-a-single-entry-free-area.py +@file: 034_finds-a-single-entry-free-area.py @time: 2023/8/1 14:52 @project: huawei-od-python -@desc: 297 查找单入口空闲区域 +@desc: 034 查找单入口空闲区域 """ diff --git a/codes/choice100/298_specific-double-ended-que.py b/codes/choice100/035_specific-double-ended-que.py similarity index 93% rename from codes/choice100/298_specific-double-ended-que.py rename to codes/choice100/035_specific-double-ended-que.py index 14b2781..60b34f4 100644 --- a/codes/choice100/298_specific-double-ended-que.py +++ b/codes/choice100/035_specific-double-ended-que.py @@ -2,10 +2,10 @@ # encoding: utf-8 """ @author: HuRuiFeng -@file: 298_specific-double-ended-que.py +@file: 035_specific-double-ended-que.py @time: 2023/8/1 17:39 @project: huawei-od-python -@desc: 298 特异性双端队列 +@desc: 035 特异性双端队列 """ diff --git a/codes/choice100/299_riddles.py b/codes/choice100/036_riddles.py similarity index 94% rename from codes/choice100/299_riddles.py rename to codes/choice100/036_riddles.py index 0180cb2..d48467e 100644 --- a/codes/choice100/299_riddles.py +++ b/codes/choice100/036_riddles.py @@ -2,10 +2,10 @@ # encoding: utf-8 """ @author: HuRuiFeng -@file: 299_riddles.py +@file: 036_riddles.py @time: 2023/8/1 18:27 @project: huawei-od-python -@desc: 299 猜字谜 +@desc: 036 猜字谜 """ diff --git a/codes/choice100/300_block-games-with-the-same-number.py b/codes/choice100/037_block-games-with-the-same-number.py similarity index 85% rename from codes/choice100/300_block-games-with-the-same-number.py rename to codes/choice100/037_block-games-with-the-same-number.py index b1fed69..8c1f1e3 100644 --- a/codes/choice100/300_block-games-with-the-same-number.py +++ b/codes/choice100/037_block-games-with-the-same-number.py @@ -2,10 +2,10 @@ # encoding: utf-8 """ @author: HuRuiFeng -@file: 300_block-games-with-the-same-number.py +@file: 037_block-games-with-the-same-number.py @time: 2023/8/1 18:52 @project: huawei-od-python -@desc: 300 相同数字的积木游戏 +@desc: 037 相同数字的积木游戏 """ from collections import defaultdict diff --git a/codes/choice100/301_knowledge-graph-neologism-mining.py b/codes/choice100/038_knowledge-graph-neologism-mining.py similarity index 86% rename from codes/choice100/301_knowledge-graph-neologism-mining.py rename to codes/choice100/038_knowledge-graph-neologism-mining.py index a1ebcdb..9fb7cd5 100644 --- a/codes/choice100/301_knowledge-graph-neologism-mining.py +++ b/codes/choice100/038_knowledge-graph-neologism-mining.py @@ -2,10 +2,10 @@ # encoding: utf-8 """ @author: HuRuiFeng -@file: 301_knowledge-graph-neologism-mining.py +@file: 038_knowledge-graph-neologism-mining.py @time: 2023/8/2 9:06 @project: huawei-od-python -@desc: 301 知识图谱新词挖掘 +@desc: 038 知识图谱新词挖掘 """ from collections import Counter diff --git a/codes/choice100/302_car-rental-ride-Green-Island.py b/codes/choice100/039_car-rental-ride-Green-Island.py similarity index 86% rename from codes/choice100/302_car-rental-ride-Green-Island.py rename to codes/choice100/039_car-rental-ride-Green-Island.py index 4b6c7cb..54f8714 100644 --- a/codes/choice100/302_car-rental-ride-Green-Island.py +++ b/codes/choice100/039_car-rental-ride-Green-Island.py @@ -2,10 +2,10 @@ # encoding: utf-8 """ @author: HuRuiFeng -@file: 302_car-rental-ride-Green-Island.py +@file: 039_car-rental-ride-Green-Island.py @time: 2023/8/2 9:21 @project: huawei-od-python -@desc: 302 租车骑绿岛 +@desc: 039 租车骑绿岛 """ diff --git a/codes/choice100/303_port-merging.py b/codes/choice100/040_port-merging.py similarity index 95% rename from codes/choice100/303_port-merging.py rename to codes/choice100/040_port-merging.py index a104819..7afc8c7 100644 --- a/codes/choice100/303_port-merging.py +++ b/codes/choice100/040_port-merging.py @@ -2,10 +2,10 @@ # encoding: utf-8 """ @author: HuRuiFeng -@file: 303_port-merging.py +@file: 040_port-merging.py @time: 2023/8/2 10:11 @project: huawei-od-python -@desc: 303 端口合并 +@desc: 040 端口合并 """ diff --git a/codes/choice100/304_the-boxes-are-arranged-in-a-zigzag-pattern.py b/codes/choice100/041_the-boxes-are-arranged-in-a-zigzag-pattern.py similarity index 87% rename from codes/choice100/304_the-boxes-are-arranged-in-a-zigzag-pattern.py rename to codes/choice100/041_the-boxes-are-arranged-in-a-zigzag-pattern.py index 7ff0284..77baab9 100644 --- a/codes/choice100/304_the-boxes-are-arranged-in-a-zigzag-pattern.py +++ b/codes/choice100/041_the-boxes-are-arranged-in-a-zigzag-pattern.py @@ -2,10 +2,10 @@ # encoding: utf-8 """ @author: HuRuiFeng -@file: 304_the-boxes-are-arranged-in-a-zigzag-pattern.py +@file: 041_the-boxes-are-arranged-in-a-zigzag-pattern.py @time: 2023/8/2 10:52 @project: huawei-od-python -@desc: 304 箱子之字形摆放 +@desc: 041 箱子之字形摆放 """ diff --git a/codes/choice100/305-Online-mall-promotions-1.py b/codes/choice100/042_Online-mall-promotions-1.py similarity index 97% rename from codes/choice100/305-Online-mall-promotions-1.py rename to codes/choice100/042_Online-mall-promotions-1.py index ca4c9d7..56daf69 100644 --- a/codes/choice100/305-Online-mall-promotions-1.py +++ b/codes/choice100/042_Online-mall-promotions-1.py @@ -2,10 +2,10 @@ # encoding: utf-8 """ @author: HuRuiFeng -@file: 305-Online-mall-promotions-1.py +@file: 042_Online-mall-promotions-1.py @time: 2023/8/2 11:38 @project: huawei-od-python -@desc: 305 网上商城优惠活动(一) +@desc: 042 网上商城优惠活动(一) """ diff --git a/codes/choice100/306_automatic-exposure.py b/codes/choice100/043_automatic-exposure.py similarity index 93% rename from codes/choice100/306_automatic-exposure.py rename to codes/choice100/043_automatic-exposure.py index 9f2d3d9..a9558a3 100644 --- a/codes/choice100/306_automatic-exposure.py +++ b/codes/choice100/043_automatic-exposure.py @@ -2,10 +2,10 @@ # encoding: utf-8 """ @author: HuRuiFeng -@file: 306_automatic-exposure.py +@file: 043_automatic-exposure.py @time: 2023/8/2 23:47 @project: huawei-od-python -@desc: 306 自动曝光 +@desc: 043 自动曝光 """ diff --git a/codes/choice100/307_obtain-the-maximum-software-version-number.py b/codes/choice100/044_obtain-the-maximum-software-version-number.py similarity index 94% rename from codes/choice100/307_obtain-the-maximum-software-version-number.py rename to codes/choice100/044_obtain-the-maximum-software-version-number.py index f366558..e5fa967 100644 --- a/codes/choice100/307_obtain-the-maximum-software-version-number.py +++ b/codes/choice100/044_obtain-the-maximum-software-version-number.py @@ -2,10 +2,10 @@ # encoding: utf-8 """ @author: HuRuiFeng -@file: 307_obtain-the-maximum-software-version-number.py +@file: 044_obtain-the-maximum-software-version-number.py @time: 2023/8/3 11:44 @project: huawei-od-python -@desc: 307 获取最大软件版本号 +@desc: 044 获取最大软件版本号 """ import re diff --git a/codes/choice100/308_get-the-perfect-position.py b/codes/choice100/045_get-the-perfect-position.py similarity index 94% rename from codes/choice100/308_get-the-perfect-position.py rename to codes/choice100/045_get-the-perfect-position.py index e39ed42..3a2ce9f 100644 --- a/codes/choice100/308_get-the-perfect-position.py +++ b/codes/choice100/045_get-the-perfect-position.py @@ -2,10 +2,10 @@ # encoding: utf-8 """ @author: HuRuiFeng -@file: 308_get-the-perfect-position.py +@file: 045_get-the-perfect-position.py @time: 2023/8/3 14:11 @project: huawei-od-python -@desc: 308 获得完美走位 +@desc: 045 获得完美走位 """ import math from collections import Counter diff --git a/codes/choice100/309_currency-unit-conversion.py b/codes/choice100/046_currency-unit-conversion.py similarity index 93% rename from codes/choice100/309_currency-unit-conversion.py rename to codes/choice100/046_currency-unit-conversion.py index aff9178..420a7a3 100644 --- a/codes/choice100/309_currency-unit-conversion.py +++ b/codes/choice100/046_currency-unit-conversion.py @@ -2,10 +2,10 @@ # encoding: utf-8 """ @author: HuRuiFeng -@file: 309_currency-unit-conversion.py +@file: 046_currency-unit-conversion.py @time: 2023/8/3 15:33 @project: huawei-od-python -@desc: 309 货币单位换算 +@desc: 046 货币单位换算 """ import re diff --git a/codes/choice100/310_greedy-businessmen-maximum-profit.py b/codes/choice100/047_greedy-businessmen-maximum-profit.py similarity index 93% rename from codes/choice100/310_greedy-businessmen-maximum-profit.py rename to codes/choice100/047_greedy-businessmen-maximum-profit.py index ee3ff1c..d8e4389 100644 --- a/codes/choice100/310_greedy-businessmen-maximum-profit.py +++ b/codes/choice100/047_greedy-businessmen-maximum-profit.py @@ -2,10 +2,10 @@ # encoding: utf-8 """ @author: HuRuiFeng -@file: 310_greedy-businessmen-maximum-profit.py +@file: 047_greedy-businessmen-maximum-profit.py @time: 2023/8/3 16:04 @project: huawei-od-python -@desc: 310 贪心的商人、最大利润 +@desc: 047 贪心的商人、最大利润 """ diff --git a/codes/choice100/311_bit-error-rate.py b/codes/choice100/048_bit-error-rate.py similarity index 94% rename from codes/choice100/311_bit-error-rate.py rename to codes/choice100/048_bit-error-rate.py index eadedf7..a3ac5ad 100644 --- a/codes/choice100/311_bit-error-rate.py +++ b/codes/choice100/048_bit-error-rate.py @@ -2,10 +2,10 @@ # encoding: utf-8 """ @author: HuRuiFeng -@file: 311_bit-error-rate.py +@file: 048_bit-error-rate.py @time: 2023/8/3 16:51 @project: huawei-od-python -@desc: 311 通信误码 +@desc: 048 通信误码 """ import math from collections import defaultdict diff --git a/codes/choice100/312_static-scanning-optimal-cost.py b/codes/choice100/049_static-scanning-optimal-cost.py similarity index 93% rename from codes/choice100/312_static-scanning-optimal-cost.py rename to codes/choice100/049_static-scanning-optimal-cost.py index 2f738c0..279ca5f 100644 --- a/codes/choice100/312_static-scanning-optimal-cost.py +++ b/codes/choice100/049_static-scanning-optimal-cost.py @@ -2,10 +2,10 @@ # encoding: utf-8 """ @author: HuRuiFeng -@file: 312_static-scanning-optimal-cost.py +@file: 049_static-scanning-optimal-cost.py @time: 2023/8/3 17:12 @project: huawei-od-python -@desc: 312 静态扫描最优成本 +@desc: 049 静态扫描最优成本 """ from collections import defaultdict diff --git a/codes/choice100/313_hotel-reservation.py b/codes/choice100/050_hotel-reservation.py similarity index 93% rename from codes/choice100/313_hotel-reservation.py rename to codes/choice100/050_hotel-reservation.py index 3e77f41..506a921 100644 --- a/codes/choice100/313_hotel-reservation.py +++ b/codes/choice100/050_hotel-reservation.py @@ -2,10 +2,10 @@ # encoding: utf-8 """ @author: HuRuiFeng -@file: 313_hotel-reservation.py +@file: 050_hotel-reservation.py @time: 2023/8/3 17:43 @project: huawei-od-python -@desc: 313 预订酒店 +@desc: 050 预订酒店 """ diff --git a/docs/_sidebar.md b/docs/_sidebar.md index 86a20cb..981cfc2 100644 --- a/docs/_sidebar.md +++ b/docs/_sidebar.md @@ -1,55 +1,55 @@ * [目录](README.md) * 精选100分题 - * [265 AI处理器组合](choice100/265_AI-Processor-Combination.md) - * [266 任务总执行时长](choice100/266_task-execute-total-time.md) - * [267 优秀学员统计](choice100/267_count-outstanding-students.md) - * [268 光伏场地建设规划](choice100/268_PV-site-construction-plan.md) - * [269 匿名信](choice100/269_anonymous-letter.md) - * [270 单词倒序](choice100/270_reverse-words.md) - * [271 基站维修工程师](choice100/271_base-station-maintenance-engineer.md) - * [271 找出重复代码](choice100/271_find-duplicate-codes.md) - * [272 字符串解密加扰字符串](choice100/272_decrypt-string.md) - * [273 字符串重新排序](choice100/273_rearrange-string.md) - * [274 对称美学](choice100/274_symmetric-string.md) - * [275 寻找关键钥匙](choice100/275_find-important-keys.md) - * [276 寻找密码](choice100/276_find-key.md) - * [277 寻找链表的中间结点](choice100/277_find-the-middle-node-of-the-linked-list.md) - * [278 开心消消乐](choice100/278_have-fun.md) - * [279 异常的打卡记录](choice100/279_abnormal-attendance-records.md) - * [280 微服务的集成测试](choice100/280_integration-testing-of-microservices.md) - * [281 打印文件](choice100/281_print-file.md) - * [282 找出通过车辆最多的颜色](choice100/282_count-vehicle-colors.md) - * [283 找数字](choice100/283_find-number.md) - * [284 投篮大赛](choice100/284_shooting-competition.md) - * [285 数组的中心位置](choice100/285_the-middle-position-of-array.md) - * [286 整理扑克牌](choice100/286_adjust-poker.md) - * [287 新员工座位安排系统](choice100/287_seat-assignment.md) - * [288 新学校选址](choice100/288_choose-location-of-the-new-school.md) - * [289 日志采集系统](choice100/289_log-collection-system.md) - * [290 星际篮球争霸赛](choice100/290_star-basketball-competition.md) - * [291 最多提取子串数目](choice100/291_maximum-number-of-substrings-extracted.md) - * [292 最大报酬](choice100/292_max-salary.md) - * [293 最小施肥机能效](choice100/293_minimum-applicator-energy-efficiency.md) - * [294 最左侧冗余覆盖子串](choice100/294_leftmost-redundant-overlay-substring.md) - * [295 最短木板长度](choice100/295_min-board-length.md) - * [296 查找充电设备组合](choice100/296_find-charging-device-combinations.md) - * [297 查找单入口空闲区域](choice100/297_finds-a-single-entry-free-area.md) - * [298 特异性双端队列](choice100/298_specific-double-ended-que.md) - * [299 猜字谜](choice100/299_riddles.md) - * [300 相同数字的积木游戏](choice100/300_block-games-with-the-same-number.md) - * [301 知识图谱新词挖掘](choice100/301_knowledge-graph-neologism-mining.md) - * [302 租车骑绿岛](choice100/302_car-rental-ride-Green-Island.md) - * [303 端口合并](choice100/303_port-merging.md) - * [304 箱子之字形摆放](choice100/304_the-boxes-are-arranged-in-a-zigzag-pattern.md) - * [305 网上商城优惠活动(一)](choice100/305_Online-mall-promotions-1.md) - * [306 自动曝光](choice100/306_automatic-exposure.md) - * [307 获取最大软件版本号](choice100/307_obtain-the-maximum-software-version-number.md) - * [308 获得完美走位](choice100/308_get-the-perfect-position.md) - * [309 货币单位换算](choice100/309_currency-unit-conversion.md) - * [310 贪心的商人、最大利润](choice100/310_greedy-businessmen-maximum-profit.md) - * [311 通信误码](choice100/311_bit-error-rate.md) - * [312 静态扫描最优成本](choice100/312_static-scanning-optimal-cost.md) - * [313 预订酒店](choice100/313_hotel-reservation.md) + * [001 AI处理器组合](choice100/001_AI-Processor-Combination.md) + * [002 任务总执行时长](choice100/002_task-execute-total-time.md) + * [003 优秀学员统计](choice100/003_count-outstanding-students.md) + * [004 光伏场地建设规划](choice100/004_PV-site-construction-plan.md) + * [005 匿名信](choice100/005_anonymous-letter.md) + * [006 单词倒序](choice100/006_reverse-words.md) + * [007 基站维修工程师](choice100/007_base-station-maintenance-engineer.md) + * [008 找出重复代码](choice100/008_find-duplicate-codes.md) + * [009 字符串解密加扰字符串](choice100/009_decrypt-string.md) + * [010 字符串重新排序](choice100/010_rearrange-string.md) + * [011 对称美学](choice100/011_symmetric-string.md) + * [012 寻找关键钥匙](choice100/012_find-important-keys.md) + * [013 寻找密码](choice100/013_find-key.md) + * [014 寻找链表的中间结点](choice100/014_find-the-middle-node-of-the-linked-list.md) + * [015 开心消消乐](choice100/015_have-fun.md) + * [016 异常的打卡记录](choice100/016_abnormal-attendance-records.md) + * [017 微服务的集成测试](choice100/017_integration-testing-of-microservices.md) + * [018 打印文件](choice100/018_print-file.md) + * [019 找出通过车辆最多的颜色](choice100/019_count-vehicle-colors.md) + * [020 找数字](choice100/020_find-number.md) + * [021 投篮大赛](choice100/021_shooting-competition.md) + * [022 数组的中心位置](choice100/022_the-middle-position-of-array.md) + * [023 整理扑克牌](choice100/023_adjust-poker.md) + * [024 新员工座位安排系统](choice100/024_seat-assignment.md) + * [025 新学校选址](choice100/025_choose-location-of-the-new-school.md) + * [026 日志采集系统](choice100/026_log-collection-system.md) + * [027 星际篮球争霸赛](choice100/027_star-basketball-competition.md) + * [028 最多提取子串数目](choice100/028_maximum-number-of-substrings-extracted.md) + * [029 最大报酬](choice100/029_max-salary.md) + * [030 最小施肥机能效](choice100/030_minimum-applicator-energy-efficiency.md) + * [031 最左侧冗余覆盖子串](choice100/031_leftmost-redundant-overlay-substring.md) + * [032 最短木板长度](choice100/032_min-board-length.md) + * [033 查找充电设备组合](choice100/033_find-charging-device-combinations.md) + * [034 查找单入口空闲区域](choice100/034_finds-a-single-entry-free-area.md) + * [035 特异性双端队列](choice100/035_specific-double-ended-que.md) + * [036 猜字谜](choice100/036_riddles.md) + * [037 相同数字的积木游戏](choice100/037_block-games-with-the-same-number.md) + * [038 知识图谱新词挖掘](choice100/038_knowledge-graph-neologism-mining.md) + * [039 租车骑绿岛](choice100/039_car-rental-ride-Green-Island.md) + * [040 端口合并](choice100/040_port-merging.md) + * [041 箱子之字形摆放](choice100/041_the-boxes-are-arranged-in-a-zigzag-pattern.md) + * [042 网上商城优惠活动(一)](choice100/042_Online-mall-promotions-1.md) + * [043 自动曝光](choice100/043_automatic-exposure.md) + * [044 获取最大软件版本号](choice100/044_obtain-the-maximum-software-version-number.md) + * [045 获得完美走位](choice100/045_get-the-perfect-position.md) + * [046 货币单位换算](choice100/046_currency-unit-conversion.md) + * [047 贪心的商人、最大利润](choice100/047_greedy-businessmen-maximum-profit.md) + * [048 通信误码](choice100/048_bit-error-rate.md) + * [049 静态扫描最优成本](choice100/049_static-scanning-optimal-cost.md) + * [050 预订酒店](choice100/050_hotel-reservation.md) * 200分题 * [001 Excel单元格数值统计](questions200/001_excel-cell-value-statistics.md) * [002 Linux发行版的数量](questions200/002_the-number-of-Linux-distributions.md) diff --git a/docs/choice100/265_AI-Processor-Combination.md b/docs/choice100/001_AI-Processor-Combination.md similarity index 99% rename from docs/choice100/265_AI-Processor-Combination.md rename to docs/choice100/001_AI-Processor-Combination.md index 917aaad..e41a56e 100644 --- a/docs/choice100/265_AI-Processor-Combination.md +++ b/docs/choice100/001_AI-Processor-Combination.md @@ -1,4 +1,4 @@ -# 265 AI处理器组合 +# 001 AI处理器组合 ## 题目描述 diff --git a/docs/choice100/266_task-execute-total-time.md b/docs/choice100/002_task-execute-total-time.md similarity index 98% rename from docs/choice100/266_task-execute-total-time.md rename to docs/choice100/002_task-execute-total-time.md index 7d5ffc6..5034b45 100644 --- a/docs/choice100/266_task-execute-total-time.md +++ b/docs/choice100/002_task-execute-total-time.md @@ -1,4 +1,4 @@ -# 266 任务总执行时长 +# 002 任务总执行时长 ## 题目描述 diff --git a/docs/choice100/267_count-outstanding-students.md b/docs/choice100/003_count-outstanding-students.md similarity index 99% rename from docs/choice100/267_count-outstanding-students.md rename to docs/choice100/003_count-outstanding-students.md index 4db8c26..c0a1437 100644 --- a/docs/choice100/267_count-outstanding-students.md +++ b/docs/choice100/003_count-outstanding-students.md @@ -1,4 +1,4 @@ -# 267 优秀学员统计 +# 003 优秀学员统计 ## 题目描述 diff --git a/docs/choice100/268_PV-site-construction-plan.md b/docs/choice100/004_PV-site-construction-plan.md similarity index 99% rename from docs/choice100/268_PV-site-construction-plan.md rename to docs/choice100/004_PV-site-construction-plan.md index 251ceee..95fe5d6 100644 --- a/docs/choice100/268_PV-site-construction-plan.md +++ b/docs/choice100/004_PV-site-construction-plan.md @@ -1,4 +1,4 @@ -# 268 光伏场地建设规划 +# 004 光伏场地建设规划 ## 题目描述 diff --git a/docs/choice100/269_anonymous-letter.md b/docs/choice100/005_anonymous-letter.md similarity index 99% rename from docs/choice100/269_anonymous-letter.md rename to docs/choice100/005_anonymous-letter.md index 170ef89..b826e44 100644 --- a/docs/choice100/269_anonymous-letter.md +++ b/docs/choice100/005_anonymous-letter.md @@ -1,4 +1,4 @@ -# 269 匿名信 +# 005 匿名信 ## 题目描述 diff --git a/docs/choice100/270_reverse-words.md b/docs/choice100/006_reverse-words.md similarity index 98% rename from docs/choice100/270_reverse-words.md rename to docs/choice100/006_reverse-words.md index 1ce629e..23a34ed 100644 --- a/docs/choice100/270_reverse-words.md +++ b/docs/choice100/006_reverse-words.md @@ -1,4 +1,4 @@ -# 270 单词倒序 +# 006 单词倒序 ## 题目描述 diff --git a/docs/choice100/271_base-station-maintenance-engineer.md b/docs/choice100/007_base-station-maintenance-engineer.md similarity index 98% rename from docs/choice100/271_base-station-maintenance-engineer.md rename to docs/choice100/007_base-station-maintenance-engineer.md index 60f2b0b..3f71f6b 100644 --- a/docs/choice100/271_base-station-maintenance-engineer.md +++ b/docs/choice100/007_base-station-maintenance-engineer.md @@ -1,4 +1,4 @@ -# 271 基站维修工程师 +# 007 基站维修工程师 ## 题目描述 diff --git a/docs/choice100/271_find-duplicate-codes.md b/docs/choice100/008_find-duplicate-codes.md similarity index 99% rename from docs/choice100/271_find-duplicate-codes.md rename to docs/choice100/008_find-duplicate-codes.md index f84f8e9..16e47e7 100644 --- a/docs/choice100/271_find-duplicate-codes.md +++ b/docs/choice100/008_find-duplicate-codes.md @@ -1,4 +1,4 @@ -# 271 找出重复代码 +# 008 找出重复代码 ## 题目描述 diff --git a/docs/choice100/272_decrypt-string.md b/docs/choice100/009_decrypt-string.md similarity index 99% rename from docs/choice100/272_decrypt-string.md rename to docs/choice100/009_decrypt-string.md index 98474f0..bc23a4a 100644 --- a/docs/choice100/272_decrypt-string.md +++ b/docs/choice100/009_decrypt-string.md @@ -1,4 +1,4 @@ -# 272 字符串解密加扰字符串 +# 009 字符串解密加扰字符串 ## 题目描述 diff --git a/docs/choice100/273_rearrange-string.md b/docs/choice100/010_rearrange-string.md similarity index 98% rename from docs/choice100/273_rearrange-string.md rename to docs/choice100/010_rearrange-string.md index 27afb9b..336c9c0 100644 --- a/docs/choice100/273_rearrange-string.md +++ b/docs/choice100/010_rearrange-string.md @@ -1,4 +1,4 @@ -# 273 字符串重新排序 +# 010 字符串重新排序 ## 题目描述 diff --git a/docs/choice100/274_symmetric-string.md b/docs/choice100/011_symmetric-string.md similarity index 99% rename from docs/choice100/274_symmetric-string.md rename to docs/choice100/011_symmetric-string.md index 51c2126..652f2bf 100644 --- a/docs/choice100/274_symmetric-string.md +++ b/docs/choice100/011_symmetric-string.md @@ -1,4 +1,4 @@ -# 274 对称美学 +# 011 对称美学 ## 题目描述 diff --git a/docs/choice100/275_find-important-keys.md b/docs/choice100/012_find-important-keys.md similarity index 99% rename from docs/choice100/275_find-important-keys.md rename to docs/choice100/012_find-important-keys.md index c324142..2b35d69 100644 --- a/docs/choice100/275_find-important-keys.md +++ b/docs/choice100/012_find-important-keys.md @@ -1,4 +1,4 @@ -# 275 寻找关键钥匙 +# 012 寻找关键钥匙 ## 题目描述 diff --git a/docs/choice100/276_find-key.md b/docs/choice100/013_find-key.md similarity index 99% rename from docs/choice100/276_find-key.md rename to docs/choice100/013_find-key.md index 3c68fb0..50e0ab0 100644 --- a/docs/choice100/276_find-key.md +++ b/docs/choice100/013_find-key.md @@ -1,4 +1,4 @@ -# 276 寻找密码 +# 013 寻找密码 ## 题目描述 diff --git a/docs/choice100/277_find-the-middle-node-of-the-linked-list.md b/docs/choice100/014_find-the-middle-node-of-the-linked-list.md similarity index 98% rename from docs/choice100/277_find-the-middle-node-of-the-linked-list.md rename to docs/choice100/014_find-the-middle-node-of-the-linked-list.md index 9a8d944..ea023be 100644 --- a/docs/choice100/277_find-the-middle-node-of-the-linked-list.md +++ b/docs/choice100/014_find-the-middle-node-of-the-linked-list.md @@ -1,4 +1,4 @@ -# 277 寻找链表的中间结点 +# 014 寻找链表的中间结点 ## 题目描述 diff --git a/docs/choice100/278_have-fun.md b/docs/choice100/015_have-fun.md similarity index 99% rename from docs/choice100/278_have-fun.md rename to docs/choice100/015_have-fun.md index ab05739..2a96cc6 100644 --- a/docs/choice100/278_have-fun.md +++ b/docs/choice100/015_have-fun.md @@ -1,4 +1,4 @@ -# 278 开心消消乐 +# 015 开心消消乐 ## 题目描述 diff --git a/docs/choice100/279_abnormal-attendance-records.md b/docs/choice100/016_abnormal-attendance-records.md similarity index 99% rename from docs/choice100/279_abnormal-attendance-records.md rename to docs/choice100/016_abnormal-attendance-records.md index 7e8df30..da7f98e 100644 --- a/docs/choice100/279_abnormal-attendance-records.md +++ b/docs/choice100/016_abnormal-attendance-records.md @@ -1,4 +1,4 @@ -# 279 异常的打卡记录 +# 016 异常的打卡记录 ## 题目描述 diff --git a/docs/choice100/280_integration-testing-of-microservices.md b/docs/choice100/017_integration-testing-of-microservices.md similarity index 99% rename from docs/choice100/280_integration-testing-of-microservices.md rename to docs/choice100/017_integration-testing-of-microservices.md index 0c22fc5..bd991db 100644 --- a/docs/choice100/280_integration-testing-of-microservices.md +++ b/docs/choice100/017_integration-testing-of-microservices.md @@ -1,4 +1,4 @@ -# 280 微服务的集成测试 +# 017 微服务的集成测试 ## 题目描述 diff --git a/docs/choice100/281_print-file.md b/docs/choice100/018_print-file.md similarity index 99% rename from docs/choice100/281_print-file.md rename to docs/choice100/018_print-file.md index 655805f..9c9990a 100644 --- a/docs/choice100/281_print-file.md +++ b/docs/choice100/018_print-file.md @@ -1,4 +1,4 @@ -# 281 打印文件 +# 018 打印文件 ## 题目描述 diff --git a/docs/choice100/282_count-vehicle-colors.md b/docs/choice100/019_count-vehicle-colors.md similarity index 97% rename from docs/choice100/282_count-vehicle-colors.md rename to docs/choice100/019_count-vehicle-colors.md index f90dcea..2fdfa15 100644 --- a/docs/choice100/282_count-vehicle-colors.md +++ b/docs/choice100/019_count-vehicle-colors.md @@ -1,4 +1,4 @@ -# 282 找出通过车辆最多的颜色 +# 019 找出通过车辆最多的颜色 ## 题目描述 diff --git a/docs/choice100/283_find-number.md b/docs/choice100/020_find-number.md similarity index 99% rename from docs/choice100/283_find-number.md rename to docs/choice100/020_find-number.md index 5659655..e0edf58 100644 --- a/docs/choice100/283_find-number.md +++ b/docs/choice100/020_find-number.md @@ -1,4 +1,4 @@ -# 283 找数字 +# 020 找数字 ## 题目描述 diff --git a/docs/choice100/284_shooting-competition.md b/docs/choice100/021_shooting-competition.md similarity index 99% rename from docs/choice100/284_shooting-competition.md rename to docs/choice100/021_shooting-competition.md index 9ba76b5..f915bfe 100644 --- a/docs/choice100/284_shooting-competition.md +++ b/docs/choice100/021_shooting-competition.md @@ -1,4 +1,4 @@ -# 284 投篮大赛 +# 021 投篮大赛 ## 题目描述 diff --git a/docs/choice100/285_the-middle-position-of-array.md b/docs/choice100/022_the-middle-position-of-array.md similarity index 98% rename from docs/choice100/285_the-middle-position-of-array.md rename to docs/choice100/022_the-middle-position-of-array.md index 34acbcb..445e1dd 100644 --- a/docs/choice100/285_the-middle-position-of-array.md +++ b/docs/choice100/022_the-middle-position-of-array.md @@ -1,4 +1,4 @@ -# 285 数组的中心位置 +# 022 数组的中心位置 ## 题目描述 diff --git a/docs/choice100/286_adjust-poker.md b/docs/choice100/023_adjust-poker.md similarity index 99% rename from docs/choice100/286_adjust-poker.md rename to docs/choice100/023_adjust-poker.md index ad56959..e702f86 100644 --- a/docs/choice100/286_adjust-poker.md +++ b/docs/choice100/023_adjust-poker.md @@ -1,4 +1,4 @@ -# 286 整理扑克牌 +# 023 整理扑克牌 ## 题目描述 diff --git a/docs/choice100/287_seat-assignment.md b/docs/choice100/024_seat-assignment.md similarity index 98% rename from docs/choice100/287_seat-assignment.md rename to docs/choice100/024_seat-assignment.md index 78a96a1..25a130c 100644 --- a/docs/choice100/287_seat-assignment.md +++ b/docs/choice100/024_seat-assignment.md @@ -1,4 +1,4 @@ -# 287 新员工座位安排系统 +# 024 新员工座位安排系统 ## 题目描述 diff --git a/docs/choice100/288_choose-location-of-the-new-school.md b/docs/choice100/025_choose-location-of-the-new-school.md similarity index 98% rename from docs/choice100/288_choose-location-of-the-new-school.md rename to docs/choice100/025_choose-location-of-the-new-school.md index 8784049..9521164 100644 --- a/docs/choice100/288_choose-location-of-the-new-school.md +++ b/docs/choice100/025_choose-location-of-the-new-school.md @@ -1,4 +1,4 @@ -# 288 新学校选址 +# 025 新学校选址 ## 题目描述 diff --git a/docs/choice100/289_log-collection-system.md b/docs/choice100/026_log-collection-system.md similarity index 99% rename from docs/choice100/289_log-collection-system.md rename to docs/choice100/026_log-collection-system.md index a4464ed..c92ae00 100644 --- a/docs/choice100/289_log-collection-system.md +++ b/docs/choice100/026_log-collection-system.md @@ -1,4 +1,4 @@ -# 289 日志采集系统 +# 026 日志采集系统 ## 题目描述 diff --git a/docs/choice100/290_star-basketball-competition.md b/docs/choice100/027_star-basketball-competition.md similarity index 98% rename from docs/choice100/290_star-basketball-competition.md rename to docs/choice100/027_star-basketball-competition.md index 3c79fae..2c98210 100644 --- a/docs/choice100/290_star-basketball-competition.md +++ b/docs/choice100/027_star-basketball-competition.md @@ -1,4 +1,4 @@ -# 290 星际篮球争霸赛 +# 027 星际篮球争霸赛 ## 题目描述 diff --git a/docs/choice100/291_maximum-number-of-substrings-extracted.md b/docs/choice100/028_maximum-number-of-substrings-extracted.md similarity index 99% rename from docs/choice100/291_maximum-number-of-substrings-extracted.md rename to docs/choice100/028_maximum-number-of-substrings-extracted.md index 7be2e65..40a9958 100644 --- a/docs/choice100/291_maximum-number-of-substrings-extracted.md +++ b/docs/choice100/028_maximum-number-of-substrings-extracted.md @@ -1,4 +1,4 @@ -# 291 最多提取子串数目 +# 028 最多提取子串数目 ## 题目描述 diff --git a/docs/choice100/292_max-salary.md b/docs/choice100/029_max-salary.md similarity index 99% rename from docs/choice100/292_max-salary.md rename to docs/choice100/029_max-salary.md index 7f50494..1dfb5d6 100644 --- a/docs/choice100/292_max-salary.md +++ b/docs/choice100/029_max-salary.md @@ -1,4 +1,4 @@ -# 292 最大报酬 +# 029 最大报酬 ## 题目描述 diff --git a/docs/choice100/293_minimum-applicator-energy-efficiency.md b/docs/choice100/030_minimum-applicator-energy-efficiency.md similarity index 98% rename from docs/choice100/293_minimum-applicator-energy-efficiency.md rename to docs/choice100/030_minimum-applicator-energy-efficiency.md index 9d24728..7999142 100644 --- a/docs/choice100/293_minimum-applicator-energy-efficiency.md +++ b/docs/choice100/030_minimum-applicator-energy-efficiency.md @@ -1,4 +1,4 @@ -# 293 最小施肥机能效 +# 030 最小施肥机能效 ## 题目描述 diff --git a/docs/choice100/294_leftmost-redundant-overlay-substring.md b/docs/choice100/031_leftmost-redundant-overlay-substring.md similarity index 98% rename from docs/choice100/294_leftmost-redundant-overlay-substring.md rename to docs/choice100/031_leftmost-redundant-overlay-substring.md index 4f3fdfe..9b360dd 100644 --- a/docs/choice100/294_leftmost-redundant-overlay-substring.md +++ b/docs/choice100/031_leftmost-redundant-overlay-substring.md @@ -1,4 +1,4 @@ -# 294 最左侧冗余覆盖子串 +# 031 最左侧冗余覆盖子串 ## 题目描述 diff --git a/docs/choice100/295_min-board-length.md b/docs/choice100/032_min-board-length.md similarity index 98% rename from docs/choice100/295_min-board-length.md rename to docs/choice100/032_min-board-length.md index 14acf3e..bdb7e4d 100644 --- a/docs/choice100/295_min-board-length.md +++ b/docs/choice100/032_min-board-length.md @@ -1,4 +1,4 @@ -# 295 最短木板长度 +# 032 最短木板长度 ## 题目描述 diff --git a/docs/choice100/296_Find-Charging-Device-Combinations.md b/docs/choice100/033_find-charging-device-combinations.md similarity index 98% rename from docs/choice100/296_Find-Charging-Device-Combinations.md rename to docs/choice100/033_find-charging-device-combinations.md index 9f8d350..269bd8e 100644 --- a/docs/choice100/296_Find-Charging-Device-Combinations.md +++ b/docs/choice100/033_find-charging-device-combinations.md @@ -1,4 +1,4 @@ -# 296 查找充电设备组合 +# 033 查找充电设备组合 ## 题目描述 diff --git a/docs/choice100/297_finds-a-single-entry-free-area.md b/docs/choice100/034_finds-a-single-entry-free-area.md similarity index 99% rename from docs/choice100/297_finds-a-single-entry-free-area.md rename to docs/choice100/034_finds-a-single-entry-free-area.md index c877bd6..5232bce 100644 --- a/docs/choice100/297_finds-a-single-entry-free-area.md +++ b/docs/choice100/034_finds-a-single-entry-free-area.md @@ -1,4 +1,4 @@ -# 297 查找单入口空闲区域 +# 034 查找单入口空闲区域 ## 题目描述 给定一个`m*n`的矩阵,由若干字符`X`和`O`构成,`X`表示该处已被占据,`O`表示该处空闲,请找到最大的单入口空闲区域。 diff --git a/docs/choice100/298_specific-double-ended-que.md b/docs/choice100/035_specific-double-ended-que.md similarity index 98% rename from docs/choice100/298_specific-double-ended-que.md rename to docs/choice100/035_specific-double-ended-que.md index 4206517..1d7986c 100644 --- a/docs/choice100/298_specific-double-ended-que.md +++ b/docs/choice100/035_specific-double-ended-que.md @@ -1,4 +1,4 @@ -# 298 特异性双端队列 +# 035 特异性双端队列 ## 题目描述 diff --git a/docs/choice100/299_riddles.md b/docs/choice100/036_riddles.md similarity index 99% rename from docs/choice100/299_riddles.md rename to docs/choice100/036_riddles.md index d80376d..79ed7e7 100644 --- a/docs/choice100/299_riddles.md +++ b/docs/choice100/036_riddles.md @@ -1,4 +1,4 @@ -# 299 猜字谜 +# 036 猜字谜 ## 题目描述 diff --git a/docs/choice100/300_block-games-with-the-same-number.md b/docs/choice100/037_block-games-with-the-same-number.md similarity index 98% rename from docs/choice100/300_block-games-with-the-same-number.md rename to docs/choice100/037_block-games-with-the-same-number.md index 4ec50c1..a2fc9f1 100644 --- a/docs/choice100/300_block-games-with-the-same-number.md +++ b/docs/choice100/037_block-games-with-the-same-number.md @@ -1,4 +1,4 @@ -# 300 相同数字的积木游戏 +# 037 相同数字的积木游戏 ## 题目描述 diff --git a/docs/choice100/301_knowledge-graph-neologism-mining.md b/docs/choice100/038_knowledge-graph-neologism-mining.md similarity index 98% rename from docs/choice100/301_knowledge-graph-neologism-mining.md rename to docs/choice100/038_knowledge-graph-neologism-mining.md index 6858677..d2318fe 100644 --- a/docs/choice100/301_knowledge-graph-neologism-mining.md +++ b/docs/choice100/038_knowledge-graph-neologism-mining.md @@ -1,4 +1,4 @@ -# 301 知识图谱新词挖掘 +# 038 知识图谱新词挖掘 ## 题目描述 小华负责公司知识图谱产品,现在要通过新词挖掘完善知识图谱。 diff --git a/docs/choice100/302_car-rental-ride-Green-Island.md b/docs/choice100/039_car-rental-ride-Green-Island.md similarity index 98% rename from docs/choice100/302_car-rental-ride-Green-Island.md rename to docs/choice100/039_car-rental-ride-Green-Island.md index 2d884b8..4dd411c 100644 --- a/docs/choice100/302_car-rental-ride-Green-Island.md +++ b/docs/choice100/039_car-rental-ride-Green-Island.md @@ -1,4 +1,4 @@ -# 302 租车骑绿岛 +# 039 租车骑绿岛 ## 题目描述 diff --git a/docs/choice100/303_port-merging.md b/docs/choice100/040_port-merging.md similarity index 99% rename from docs/choice100/303_port-merging.md rename to docs/choice100/040_port-merging.md index 1708971..34ffe23 100644 --- a/docs/choice100/303_port-merging.md +++ b/docs/choice100/040_port-merging.md @@ -1,4 +1,4 @@ -# 303 端口合并 +# 040 端口合并 ## 题目描述 diff --git a/docs/choice100/304_the-boxes-are-arranged-in-a-zigzag-pattern.md b/docs/choice100/041_the-boxes-are-arranged-in-a-zigzag-pattern.md similarity index 96% rename from docs/choice100/304_the-boxes-are-arranged-in-a-zigzag-pattern.md rename to docs/choice100/041_the-boxes-are-arranged-in-a-zigzag-pattern.md index 024ff5e..51f3ef3 100644 --- a/docs/choice100/304_the-boxes-are-arranged-in-a-zigzag-pattern.md +++ b/docs/choice100/041_the-boxes-are-arranged-in-a-zigzag-pattern.md @@ -1,4 +1,4 @@ -# 304 箱子之字形摆放 +# 041 箱子之字形摆放 ## 题目描述 @@ -6,7 +6,7 @@ 例如:箱子ABCDEFG,空地宽度为3,摆放结果如图: -![之字形摆放](images/304-001-zigzag.png) +![之字形摆放](images/041-001-zigzag.png) 则输出结果为: ```text diff --git a/docs/choice100/305_Online-mall-promotions-1.md b/docs/choice100/042_Online-mall-promotions-1.md similarity index 99% rename from docs/choice100/305_Online-mall-promotions-1.md rename to docs/choice100/042_Online-mall-promotions-1.md index 8f41e1f..43fc6bf 100644 --- a/docs/choice100/305_Online-mall-promotions-1.md +++ b/docs/choice100/042_Online-mall-promotions-1.md @@ -1,4 +1,4 @@ -# 305 网上商城优惠活动(一) +# 042 网上商城优惠活动(一) ## 题目描述 diff --git a/docs/choice100/306_automatic-exposure.md b/docs/choice100/043_automatic-exposure.md similarity index 99% rename from docs/choice100/306_automatic-exposure.md rename to docs/choice100/043_automatic-exposure.md index 4aef944..52bc99d 100644 --- a/docs/choice100/306_automatic-exposure.md +++ b/docs/choice100/043_automatic-exposure.md @@ -1,4 +1,4 @@ -# 306 自动曝光 +# 043 自动曝光 ## 题目描述 diff --git a/docs/choice100/307_obtain-the-maximum-software-version-number.md b/docs/choice100/044_obtain-the-maximum-software-version-number.md similarity index 99% rename from docs/choice100/307_obtain-the-maximum-software-version-number.md rename to docs/choice100/044_obtain-the-maximum-software-version-number.md index ed9cf53..0a20f48 100644 --- a/docs/choice100/307_obtain-the-maximum-software-version-number.md +++ b/docs/choice100/044_obtain-the-maximum-software-version-number.md @@ -1,4 +1,4 @@ -# 307 获取最大软件版本号 +# 044 获取最大软件版本号 ## 题目描述 diff --git a/docs/choice100/308_get-the-perfect-position.md b/docs/choice100/045_get-the-perfect-position.md similarity index 99% rename from docs/choice100/308_get-the-perfect-position.md rename to docs/choice100/045_get-the-perfect-position.md index 95b4910..563846b 100644 --- a/docs/choice100/308_get-the-perfect-position.md +++ b/docs/choice100/045_get-the-perfect-position.md @@ -1,4 +1,4 @@ -# 308 获得完美走位 +# 045 获得完美走位 ## 题目描述 diff --git a/docs/choice100/309_currency-unit-conversion.md b/docs/choice100/046_currency-unit-conversion.md similarity index 99% rename from docs/choice100/309_currency-unit-conversion.md rename to docs/choice100/046_currency-unit-conversion.md index 7eb0268..8eabd7e 100644 --- a/docs/choice100/309_currency-unit-conversion.md +++ b/docs/choice100/046_currency-unit-conversion.md @@ -1,4 +1,4 @@ -# 309 货币单位换算 +# 046 货币单位换算 ## 题目描述 diff --git a/docs/choice100/310_greedy-businessmen-maximum-profit.md b/docs/choice100/047_greedy-businessmen-maximum-profit.md similarity index 99% rename from docs/choice100/310_greedy-businessmen-maximum-profit.md rename to docs/choice100/047_greedy-businessmen-maximum-profit.md index 3ba8138..9d27e93 100644 --- a/docs/choice100/310_greedy-businessmen-maximum-profit.md +++ b/docs/choice100/047_greedy-businessmen-maximum-profit.md @@ -1,4 +1,4 @@ -# 310 贪心的商人、最大利润 +# 047 贪心的商人、最大利润 ## 题目描述 diff --git a/docs/choice100/311_bit-error-rate.md b/docs/choice100/048_bit-error-rate.md similarity index 99% rename from docs/choice100/311_bit-error-rate.md rename to docs/choice100/048_bit-error-rate.md index 2f0be11..0fb5763 100644 --- a/docs/choice100/311_bit-error-rate.md +++ b/docs/choice100/048_bit-error-rate.md @@ -1,4 +1,4 @@ -# 311 通信误码 +# 048 通信误码 ## 题目描述 diff --git a/docs/choice100/312_static-scanning-optimal-cost.md b/docs/choice100/049_static-scanning-optimal-cost.md similarity index 98% rename from docs/choice100/312_static-scanning-optimal-cost.md rename to docs/choice100/049_static-scanning-optimal-cost.md index 148c380..6902be3 100644 --- a/docs/choice100/312_static-scanning-optimal-cost.md +++ b/docs/choice100/049_static-scanning-optimal-cost.md @@ -1,4 +1,4 @@ -# 312 静态扫描最优成本 +# 049 静态扫描最优成本 ## 题目描述 diff --git a/docs/choice100/313_hotel-reservation.md b/docs/choice100/050_hotel-reservation.md similarity index 99% rename from docs/choice100/313_hotel-reservation.md rename to docs/choice100/050_hotel-reservation.md index 2d954f7..929daba 100644 --- a/docs/choice100/313_hotel-reservation.md +++ b/docs/choice100/050_hotel-reservation.md @@ -1,4 +1,4 @@ -# 313 预订酒店 +# 050 预订酒店 ## 题目描述 diff --git a/docs/choice100/images/304-001-zigzag.png b/docs/choice100/images/041-001-zigzag.png similarity index 100% rename from docs/choice100/images/304-001-zigzag.png rename to docs/choice100/images/041-001-zigzag.png