Skip to content

Commit 5368db6

Browse files
committed
Add HashSet data structure implementation for integers (#6304) with all the Prerequisites
1 parent 160f1e4 commit 5368db6

File tree

1 file changed

+2
-0
lines changed
  • src/main/java/com/thealgorithms/datastructures/hashset

1 file changed

+2
-0
lines changed

src/main/java/com/thealgorithms/datastructures/hashset/HashSet.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717

1818
/**
1919
* A simple implementation of a HashSet for integers using separate chaining.
20+
*
21+
* See: https://en.wikipedia.org/wiki/Hash_table
2022
*/
2123
public class HashSet {
2224
private static final int INITIAL_CAPACITY = 16;

0 commit comments

Comments
 (0)