unordered_map as an hashyes, that is what I am facing, any work arounds to fix that? I was thinking unordered_map was fastes...
unordered_map as an hashI think this line of code [code]while(map.find(tmp) != map.end())[/code] is not running in constant ...
unordered_map as an hashI was under the impression that unordered_map could be used as a hash map in c++. But looks like my ...
Find an element in sorted rotated arrayoh, got it now, thanks!
Find an element in sorted rotated arrayI got this problem in an interview. I thought my solution was right but the interviewer said I was n...