Data structures to name-drop when you want to sound smart in an interview
blog.amynguyen.net
blog.amynguyen.net
From other point of view, why not to excercise an idea? :)
KD-trees and other spatial data structures "True time" when talking about consistency Fenwick tree for right problem
We need a portable standard for the external encoding of Bloom and HLL that captures important internal implementation details.
I can serialize a map as a list of key values, but I cannot do that with a Bloom filter. The same case could be made for maps, when one has multiple GB hashmaps, rehashing and inserting on load could make it untenable. CaptnProto aadresses some of this, but more work needs to done to treat the heap as a portable database with internal visibility.
The title is extremely ill-chosen for an otherwise acceptable blog post. The post itself really has nothing to do with tech interviews.
The footnote #2 for bloom filter is especially good. "The real interview pro tip is always in the footnotes."
Here sounds infinite loop maybe, but it should finishing calling each other (a calling b that calls a that calls b again...infinite...)
But when there is a Top maximum Parent that is the top of the parent child pyramid (like a html Body "div", I mean, the one that contains all others") It should stop...well
def a
self.insert //something to make it child of the parent, like a html structure maybe
b //call the second method, the b method below
end
def b
self.insert //same here, same logic//
a //call the first method, the a method above
end
thisHtmlDiv.a //crazy example
So the subject on which you call the method will be added in all the hierarchy chain of the parent child pyramid.
Cheers!