Skip to content

Conversation

@Charles-Hardy
Copy link
Contributor

@Charles-Hardy Charles-Hardy commented Jan 2, 2026

Description

  • Added a new entry for the term bucket_size() into Codecademy/docs/content/cpp/concepts/unordered-set/terms/bucket-size/bucket-size.md
  • Created to resolve issue number 8127

###Issue Solved
Closes #8042

Type of Change

  • Adding a new entry

Checklist

  • All writings are my own.
  • My entry follows the Codecademy Docs style guide.
  • My changes generate no new warnings.
  • I have performed a self-review of my own writing and code.
  • I have checked my entry and corrected any misspellings.
  • I have made corresponding changes to the documentation if needed.
  • I have confirmed my changes are not being pushed from my forked main branch.
  • I have confirmed that I'm pushing from a new branch named after the changes I'm making.
  • I have linked any issues that are relevant to this PR in the Issues Solved section.

@Charles-Hardy
Copy link
Contributor Author

I have raised this PR to supersede #8127 based on @mamtawardhani feedback

@mamtawardhani
Copy link
Collaborator

Thank you! I'll review this @Charles-Hardy

Updated the documentation for the bucket_size() method to reflect its use with unordered_set instead of unordered_map. Adjusted examples and descriptions accordingly.
Copy link
Collaborator

@mamtawardhani mamtawardhani left a comment

Choose a reason for hiding this comment

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

The PR looks good for a second review! 🚀

Copy link
Collaborator

@dakshdeepHERE dakshdeepHERE left a comment

Choose a reason for hiding this comment

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

Did a few minor changes here and there, looks good to merge.

@dakshdeepHERE dakshdeepHERE added status: review 2️⃣ completed and removed status: under review Issue or PR is currently being reviewed labels Jan 7, 2026
Copy link
Collaborator

@dakshdeepHERE dakshdeepHERE left a comment

Choose a reason for hiding this comment

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

Made some minor updates to the entry and fixed the lint issue. @Charles-Hardy, make sure that when you create a PR, your branch name is related to the entry. For example, the branch name could have been bucketSize or CharlesBucketSize.

@dakshdeepHERE dakshdeepHERE merged commit 9d55956 into Codecademy:main Jan 7, 2026
7 checks passed
@github-actions
Copy link

github-actions bot commented Jan 7, 2026

👋 @Charles-Hardy
You have contributed to Codecademy Docs, and we would like to know more about you and your experience.
Please take a minute to fill out this four question survey to help us better understand Docs contributions and how we can improve the experience for you and our learners.
Thank you for your help!

🎉 Your contribution(s) can be seen here:

https://www.codecademy.com/resources/docs/cpp/unordered-set/bucket-size

Please note it may take a little while for changes to become visible.
If you're appearing as anonymous and want to be credited, visit the linked accounts page and ensure that your GitHub account is linked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Term Entry] C++ Unordered-sets: bucket_size()

3 participants