Hi there!
I have to do a B-tree, which can use strings or ints as keys. Anyway, keys can be repeated, and I have to use a has function in order to converto from string to int...
My teacher said he doesn't care about the function we use, and that he wouldn't care if we used an already done one. He even told us we didn't loose time in implementing one ourselves.
The thing is, I haven't find one... COuld you help me?
It just has to work, no need of it to be efficient.
THANKS!! :D :D
I have to do a B-tree, which can use strings or ints as keys. Anyway, keys can be repeated, and I have to use a has function in order to converto from string to int...
My teacher said he doesn't care about the function we use, and that he wouldn't care if we used an already done one. He even told us we didn't loose time in implementing one ourselves.
The thing is, I haven't find one... COuld you help me?
It just has to work, no need of it to be efficient.
THANKS!! :D :D
Comment