Skip to content

Commit

Permalink
Fix open hash initial size being difficult to modify
Browse files Browse the repository at this point in the history
  • Loading branch information
luciankt committed Sep 1, 2024
1 parent 4ee06cc commit d35d35d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/algo/OpenHash.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const ARRAY_ELEM_HEIGHT = 30;
const ARRAY_ELEM_START_Y = 110;
const ARRAY_VERTICAL_SEPARATION = 70;

const CLOSED_HASH_TABLE_SIZE = 10;
const CLOSED_HASH_TABLE_SIZE = 7;

const ARRAY_ELEM_START_X = 100;
// If you want to center the array:
Expand Down

1 comment on commit d35d35d

@luciankt
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Brings parity to closed hash which defaults to size 7 as well

Please sign in to comment.