Skip to content

Duplicate keys - It should overwrite #4

@alok87

Description

@alok87

The hash can contain duplicate key value pairs in the bucket chain as it always prepend to the chain.

self.buckets[bucketIdx] = &Bucket{hashKey, key, value, head}

https://github.com/suncat2000/hashmap/blob/master/hashmap.go#L99

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions