r/programming • u/ldxtc • Sep 22 '20
Google engineer breaks down the problems he uses when doing technical interviews. Lots of advice on algorithms and programming.
https://alexgolec.dev/google-interview-questions-deconstructed-the-knights-dialer/
6.4k
Upvotes
0
u/eterevsky Sep 22 '20
Nope.
std::mapis based on binary tree and is much less efficient than a hashmap likestd::unordered_map. The upside is that it keeps the elements ordered in case you need to iterate over them in order.