Hash table

This commit is contained in:
Dmitry Boulytchev 2020-01-16 06:59:34 +03:00
parent 46dfd58bda
commit 149984f5c0
14 changed files with 258 additions and 21 deletions

View file

@ -0,0 +1,9 @@
Cached: 1
Cached: 1
Cached: 1
Cached: 1
Cached: 1
Cached: 1
Cached: 1
Cached: 1
Cached: 1

View file

@ -0,0 +1,6 @@
Flattening: 0
Flattening: 0
Flattening: {1, 2, 3}
Flattening: {1, 2, 3, 4, 5, 6, 7, 8, 9}
List to array: [1, 2, 3, 4, 5]
Array to list: {1, 2, 3, 4, 5}

View file

@ -0,0 +1,6 @@
HashTab internal structure: MNode (-624426958, {[{1, 2, 3}, 100]}, 0, 0, 0)
HashTab internal structure: MNode (-624426958, {[{1, 2, 3}, 200], [{1, 2, 3}, 100]}, 0, 0, 0)
Searching: Some (100)
Searching: Some (200)
Replaced: Some (800)
Restored: Some (100)