Methods for finding keys in the map would iterate over all keys when the key did not exist. Fixed by introducing a new sentinel value (-1) that is used to mark slots that were previously occupied.
Methods for finding keys in the map would iterate over all keys when the key did not exist. Fixed by introducing a new sentinel value (-1) that is used to mark slots that were previously occupied.