issues
search
henrylin03
/
odin-hashmap
Implement hashmap data structure using vanilla JavaScript (Node) as part of The Odin Project's "Full Stack JavaScript" course.
MIT License
0
stars
0
forks
source link
issues
Newest
Newest
Most commented
Recently updated
Oldest
Least commented
Least recently updated
incorporate tests
#23
henrylin03
closed
1 month ago
0
create hashset factory
#22
henrylin03
opened
1 month ago
0
expand the number of buckets to minimise (if not, avoid) collisions. fix `entries()` method creating too deeply nested of an array.
#21
henrylin03
closed
1 month ago
0
get the values in the hashmap, in each of the buckets with `values()` method. fix bug with `.keys()` implementation where it created a 2D array instead of 1D.
#20
henrylin03
closed
1 month ago
0
implement `.keys()` method in hashmap factory to get all the keys in hashmap as an array
#19
henrylin03
closed
1 month ago
0
write `.entries()` method in hashmap factory which returns the key/value pairs as an array of arrays
#18
henrylin03
closed
1 month ago
0
build `entries()` to return array that contains each key, value pair
#17
henrylin03
closed
1 month ago
0
build `values()` method to return array containing all values
#16
henrylin03
closed
1 month ago
1
build `keys()` method to return array containing all keys inside the hash map
#15
henrylin03
closed
1 month ago
1
build `clear()` method to remove all entries in hashmap
#14
henrylin03
closed
1 month ago
0
build method to find number of stored keys in hashmap
#13
henrylin03
closed
1 month ago
0
build `.remove(key)` method which will remove the the key/value pair from the hashmap. add `.length()` method to return the count of nodes in the linked list.
#12
henrylin03
closed
1 month ago
0
build `remove(key)` method to remove entry from hashmap if present
#11
henrylin03
closed
1 month ago
0
build `has(key)` method to check if key is in hashmap
#10
henrylin03
closed
1 month ago
0
build `.get()` method to get the value in hashmap with a given key
#9
henrylin03
closed
1 month ago
0
Fix: properly set key value pairs in their right buckets
#8
henrylin03
closed
1 month ago
1
bug: key/value pairs are set in all buckets, and not set in the right bucket (by hashcode)
#7
henrylin03
closed
1 month ago
0
build `get(key)` method to return value assigned to key
#6
henrylin03
closed
1 month ago
1
expand buckets when required, to better manage collisions
#5
henrylin03
closed
1 month ago
0
overwrite duplicate key's values when setting key/value pairs
#4
henrylin03
closed
1 month ago
0
setup linked list structure for the values of the hashmap
#3
henrylin03
closed
1 month ago
0
add `set` method to assign key/value pairs
#2
henrylin03
closed
1 month ago
0
build `set` method to assign key/value pairs
#1
henrylin03
closed
1 month ago
3