Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

优化2024年Python题解,添加第四第五题解法 #13

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

HeZi930
Copy link

@HeZi930 HeZi930 commented Aug 28, 2024

改进文件可读性,使其更符合Python代码规范。
增加为三种解法,其中暴力解法为我自己所写,递归检查为24届数学刘家蔚同学提供,等差数列的性质为网络所得。
三种解法一个比一个高明,在长度较长时,递归算法更有优势,可以避免重复计算和不必要的路径。
而等差数列的性质解法则从数学的角度寻求答案

@HeZi930 HeZi930 changed the title 改进2024年等差素数列题解,并增加解法 优化2024年Python题解,添加第四第五题解法 Aug 28, 2024
@HeZi930
Copy link
Author

HeZi930 commented Aug 28, 2024

优化五道题的Python规范,并在文件开头加入题目。
增加了第四题的二分查找法

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant