Skip to content

Commit d68f590

Browse files
Update bucket.md file
1 parent 4dae3b1 commit d68f590

File tree

1 file changed

+1
-2
lines changed
  • content/cpp/concepts/unordered-set/terms/bucket

1 file changed

+1
-2
lines changed

content/cpp/concepts/unordered-set/terms/bucket/bucket.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,8 @@ CatalogContent:
1313
- 'learn-c-plus-plus'
1414
- 'paths/computer-science'
1515
---
16-
# bucket()
1716

18-
In C++, the `bucket()` function returns the index of the bucket in which a specific element is stored within an [`unordered_set`](https://www.codecademy.com/resources/docs/cpp/unordered-set).
17+
**bucket()** in C++ returns the index of the bucket in which a specific element is stored within an [`unordered_set`](https://www.codecademy.com/resources/docs/cpp/unordered-set).
1918

2019
It can be used to understand the internal hash table structure, check the distribution of elements, or implement custom traversal logic.
2120

0 commit comments

Comments
 (0)