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

A question about section 2.3 time complexity #1596

Open
Tang-ink opened this issue Dec 19, 2024 · 0 comments
Open

A question about section 2.3 time complexity #1596

Tang-ink opened this issue Dec 19, 2024 · 0 comments

Comments

@Tang-ink
Copy link

Tang-ink commented Dec 19, 2024

问题反馈:您好关于2.3时间复杂度中的实例我有疑问,for循环终止时会进行一次额外的判断,所以循环部分的运行时间应该是(n+1)×1+n×5吧,期待您的回复

@krahets krahets changed the title 问题反馈:您好关于2.3时间复杂度中的实例我有疑问,for循环终止时会进行一次额外的判断,所以循环部分的运行时间应该是(n+1)×1+n×5吧,期待您的回复 A question about section 2.3 time complexity Dec 20, 2024
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

No branches or pull requests

1 participant