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.
2.4 KiB
2.4 KiB