You'll notice that this week's puzzle is fairly easy. That's because it isn't meant to be done using a computer. Instead, take it and do it on a white board or hand writing on a piece of paper. If you've never done this before I'm sure it will surprise you at how hard it is. The point is to practice for when you have to do it for an interview; if you've never done this in an interview before, now's your chance to get some experience.
Feel free to post your pictures in the comments for this one.
// Design and implement the following three
// functions on a class. You may NOT use any
// prebuilt set or hash functions
class YourSetClass
{
// A function to generate a hash from a string
// A function to add a hash to the set
// A function to see if a hash is in the set
};
Digg It!