Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
0
05_homework_daxiong
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
大雄
05_homework_daxiong
Commits
52524a3c
Commit
52524a3c
authored
Feb 26, 2019
by
326030434
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
code review
parent
944e9f5b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
code_review.txt
+8
-0
No files found.
code_review.txt
0 → 100644
View file @
52524a3c
Detailed Comments:
— 代码的实现思路上没有任何问题!
- 以下部分可以优化:
1.if string[i][0].lower() in vowel这句性能比较低:
vowl为list,遍历时间复杂度为O(n),可以用set
大多数单词其实不用使用lower进行处理,可以将大写字母加入vowel
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment