5.5.2 - Error in text
还没有人认领这个 Issue。
评估
- 难度
- 1/5
- 预计耗时
- 1 小时以内
- 新手友好度
- 38/100
- Issue 类型
- 文档
- 描述清晰度
- 描述清楚
- 活跃度
- 停滞
调研方向
Search the quoted passage from section 5.5.2, “Collision Resolution,” just before figure 11, in the documentation source. Check the surrounding explanation and rendered text, then correct the quadratic probing sequence and clarify the equation as requested; done means the passage accurately describes the successive probes.
由索引模型根据 Issue 内容生成。
描述
Hi,
In the following text (from section 5.5.2, Collision Resolution, just before figure 11) I think the 1, 3, 5, 7... sequence should be 1, 4, 9, 16, 25, 36.
It would also be good to clarify with an equation, for example:
The ith skip will be i^2, meaning the ith probe be (h+i^2)%sizeoftable
A variation of the linear probing idea is called quadratic probing. Instead of using a constant “skip” value, we use a rehash function that increments the hash value by 1, 3, 5, 7, 9, and so on. This means that if the first hash value is h, the successive values are h+1, h+4, h+9, h+16, and so on.
Cheers,
Paul McKeown.
University of Canterbury, NZ.
- 主要语言
- Python
- 星标
- 274
- 派生
- 161
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
RunestoneInteractive/pythonds 的其他 Issue
-
难度 1/5 1 小时以内 新手友好度 70/100
RunestoneInteractive/pythonds#109 ·
-
难度 3/5 1-2 天 新手友好度 45/100
RunestoneInteractive/pythonds#126 ·
-
难度 1/5 1 小时以内 新手友好度 52/100
RunestoneInteractive/pythonds#120 ·
-
难度 1/5 1 小时以内 新手友好度 55/100
RunestoneInteractive/pythonds#103 ·
-
bug
难度 2/5 1-3 小时 新手友好度 42/100
RunestoneInteractive/pythonds#99 · 5 条评论 · 1 个 reaction ·
查看 RunestoneInteractive/pythonds 的全部 Issue
相似的 Issue
-
bug needs-triage
难度 2/5 1-3 小时 新手友好度 68/100
debpalash/VoiceStudio#2624 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 75/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
-
Make Catch2 optional when `RDK_BUILD_CPP_TESTS=OFF`可能已有人在做 @pechersky 今天认领。 未关闭bug
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 2 天内回复
-
There are a few redundant calls to `fdesc._setCloseOnExec()`可能已有人在做 @gudnimg 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复