Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 62c6b71

Browse files
committed
update: change in threshold value
1 parent 44c158a commit 62c6b71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/_DataStructures_/HashTable/index.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ class HashTable {
88
// and help to resize when the table is half filled
99
this.size = 0;
1010
// threshold (let it be 70%)
11-
this.threshold = 0.8;
11+
this.threshold = 0.7;
1212
// the main bucket
1313
this.bucket = new Array(this.slot);
1414

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /