docs icon indicating copy to clipboard operation
docs copied to clipboard

docs: Add C++ unordered_set::count() term entry (#8027)

Open Rishabh1925 opened this issue 1 month ago • 3 comments

Closes #8027

This PR adds the documentation entry for the C++ unordered_set::count() method.

Implementation Details:

  • File Path: Created the file at the required location: docs/content/cpp/concepts/unordered-set/terms/count/count.md.
  • Core Concept: The entry clarifies that due to the uniqueness constraint of unordered_set, .count() will only ever return 1 (found) or 0 (not found).
  • Structure: Includes the mandatory Description, Syntax, and Example sections.
  • Codebyte: Included a Codebyte section with compilable C++ code for searching elements, meeting all issue requirements.

Rishabh1925 avatar Nov 25 '25 05:11 Rishabh1925

Hey @mamtawardhani @codecademy-docs

I've finished creating the new term entry for unordered_set::count(). The entry includes the required Codebyte and focuses on clarifying the method's unique return values (0 or 1). Ready for review!

Rishabh1925 avatar Nov 25 '25 05:11 Rishabh1925

Hey @mamtawardhani please look into this issue and merge this please, after which i can move to more issues.

Thanks a lot

Rishabh1925 avatar Nov 26 '25 05:11 Rishabh1925

@mamtawardhani @dakshdeepHERE Please look into this PR.....and merge this please

Rishabh1925 avatar Dec 03 '25 17:12 Rishabh1925