Homework 5 Solutions

No, you need to check that the input key matches the key in the space you are looking at. If not you need to keep looking using linear probing.

k is not a valid thing to return, you are supposed to be returning a number. k is a Key.