Bug Report for https://neetcode.io/problems/hashTable
Please describe the bug below and include any steps to reproduce the bug or screenshots if possible.
This problem needs a test case that checks for when linear probing misses re computing the array on removal of an item
Here is a sample test case:
["HashTable", 8, "insert", 0, 1, "insert", 8, 2, "insert", 16, 3, "remove", 8, "get", 16]
[null, null, null, null, true, 3]
Bug Report for https://neetcode.io/problems/hashTable
Please describe the bug below and include any steps to reproduce the bug or screenshots if possible.
This problem needs a test case that checks for when linear probing misses re computing the array on removal of an item
Here is a sample test case:
["HashTable", 8, "insert", 0, 1, "insert", 8, 2, "insert", 16, 3, "remove", 8, "get", 16]
[null, null, null, null, true, 3]