Skip to content

Conversation

@sunshinesDL
Copy link
Contributor

@sunshinesDL sunshinesDL commented Aug 31, 2025

基于数组实现的哈希表中,get() 函数的返回值还可能会 None;且 put() 函数不仅可添加键值对、还可更新表中已有键值对的值;

If this pull request (PR) pertains to Chinese-to-English translation, please confirm that you have read the contribution guidelines and complete the checklist below:

  • This PR represents the translation of a single, complete document, or contains only bug fixes.
  • The translation accurately conveys the original meaning and intent of the Chinese version. If deviations exist, I have provided explanatory comments to clarify the reasons.

If this pull request (PR) is associated with coding or code transpilation, please attach the relevant console outputs to the PR and complete the following checklist:

  • I have thoroughly reviewed the code, focusing on its formatting, comments, indentation, and file headers.
  • I have confirmed that the code execution outputs are consistent with those produced by the reference code (Python or Java).
  • The code is designed to be compatible on standard operating systems, including Windows, macOS, and Ubuntu.

基于数组实现的哈希表中,`get()` 函数的返回值还可能会 None;且 `put()` 函数不仅可添加键值对、还可更新表中已有键值对的值;
Copy link
Owner

@krahets krahets left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR!

@krahets krahets added code Code-related polish Decorative detail or feature labels Sep 20, 2025
@krahets krahets merged commit 1e6a841 into krahets:main Sep 20, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

code Code-related polish Decorative detail or feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants