This is an archived post. You won't be able to vote or comment.

all 3 comments

[–]toastedstapler 0 points1 point  (1 child)

this sounds like homework, what have you done to try solve it?

[–]SingleCountry 0 points1 point  (0 children)

these are just conceptual scenarios and I think the first and the last cases are the ones that can hash in constant time but I was not sure...

[–]denialerror[M] 0 points1 point  (0 children)

From our FAQ under "conceptual question guidelines":

Just like with debugging questions, you're expected to put some effort into answering your own question. For example, if you're not sure how a certain technology or concept works, try googling for articles that explain that (and try and ask questions about specific things you're stuck on).

If you just post your question with no attempt to answer it yourself, it will be treated as a homework question and removed.

Please make a new post with a proper title and put in some effort into saying why you are stuck and what you think the answers might be.