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

3.1.24基于插值法的符号表的rank方法实现有误 #538

Closed
consoles opened this issue Jul 24, 2019 · 0 comments
Closed

3.1.24基于插值法的符号表的rank方法实现有误 #538

consoles opened this issue Jul 24, 2019 · 0 comments
Assignees
Labels
BUG 题解代码出现的 bug CONFIRMED 问题已确认 FIXED 问题已修复

Comments

@consoles
Copy link

当符号表中已经有一个键值对例如1 => A,再次插入2 => B的时候rank方法由于lo = 0,hi = 0不会进入循环,从而返回lo = 0,2 => B这个键值对应该插入的位置就有误了

@ikesnowy ikesnowy self-assigned this Jul 26, 2019
@ikesnowy ikesnowy added BUG 题解代码出现的 bug TRACKING 正在确认 labels Jul 26, 2019
ikesnowy added a commit that referenced this issue Jul 26, 2019
@ikesnowy ikesnowy added CONFIRMED 问题已确认 FIXED 问题已修复 and removed TRACKING 正在确认 labels Jul 26, 2019
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