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

2.2.12 所需的额外空间不对 #588

Closed
w1374720640 opened this issue Jul 27, 2020 · 1 comment
Closed

2.2.12 所需的额外空间不对 #588

w1374720640 opened this issue Jul 27, 2020 · 1 comment
Assignees
Labels
BUG 题解代码出现的 bug CONFIRMED 问题已确认 FIXED 问题已修复

Comments

@w1374720640
Copy link

题目要求:使所需的额外空间减小到max(M,N/M),但是你的代码中创建了(N/M - 1)个大小为M的数组,需要的总额外空间为:(N/M - 1) * M 约等于N,某一时刻的额外空间为M,不符合题目要求

@ikesnowy ikesnowy self-assigned this Jul 28, 2020
@ikesnowy ikesnowy added BUG 题解代码出现的 bug TRACKING 正在确认 CONFIRMED 问题已确认 IN PROGRESS 正在处理 FIXED 问题已修复 and removed TRACKING 正在确认 IN PROGRESS 正在处理 labels Jul 28, 2020
@ikesnowy
Copy link
Owner

ikesnowy commented Aug 2, 2020

已修复

@ikesnowy ikesnowy closed this as completed Aug 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BUG 题解代码出现的 bug CONFIRMED 问题已确认 FIXED 问题已修复
Projects
None yet
Development

No branches or pull requests

2 participants