3 ms·
If you use a balanced tree instead of chaining or probing, sure. But, of course, nobody ever does that in practice, because the complexity isn't justified by t
by timr 14y ago
If you use a balanced tree instead of chaining or probing, sure. But, of course, nobody ever does that in practice, because the complexity isn't justified by the theoretical gains.
Point was, worst-case time complexity isn't constant. I'd be happy to see more people get that right in interviews.