TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Data structures to name-drop when you want to sound smart in an interview

53 pointsby loigeover 6 years ago

8 comments

galkkover 6 years ago
I think that &quot;name-dropping&quot; of something that you don&#x27;t really know is pretty dangerous strategy in interview.<p>From other point of view, why not to excercise an idea? :)<p>KD-trees and other spatial data structures &quot;True time&quot; when talking about consistency Fenwick tree for right problem
crb002over 6 years ago
Python and C++ standard libraries should include the prefix trie, suffix array, Bloom filter, T&#x2F;Q Digest, and Count-min sketch. Also generic dense&#x2F;sparse matrix-matrix multiply, and lazy&#x2F;streaming algorithm interfaces to operate on network supplied data.
评论 #19015073 未加载
shakkharover 6 years ago
I have just one thing to say - never ever &quot;name-drop&quot; a data structure in a coding interview unless you are going to use it in your solution. It doesn&#x27;t add anything to your interview but has the potential to get you in trouble.<p>The title is extremely ill-chosen for an otherwise acceptable blog post. The post itself really has nothing to do with tech interviews.
评论 #19021804 未加载
TeMPOraLover 6 years ago
There is what seems to be a repeated typo in footnote 1: &quot;You take the length N. N % M (pronounced N modulo M) gives you a value Q such that 0 ≤ Q &lt; N.&quot; I assume the author meant taking M % N here, and later on.
karmakazeover 6 years ago
The LMAX Disruptor is a fun one for anyone into Mechanical Sympathy.
moneywoesover 6 years ago
Would this actually be effective or could i tback fire?
评论 #19015329 未加载
kccqzyover 6 years ago
Who still uses prefix tries? I thought most uses have long been replaced by ternary search trees. No one wants to waste memory storing 26 pointers at each node.
评论 #19015982 未加载
paradoxparalaxover 6 years ago
Once I encountered this curious recursion:&#x27;<p>Here sounds infinite loop maybe, but it should finishing calling each other (a calling b that calls a that calls b again...infinite...)<p>But when there is a Top maximum Parent that is the top of the parent child pyramid (like a html Body &quot;div&quot;, I mean, the one that contains all others&quot;) It should stop...well<p>def a<p>self.insert &#x2F;&#x2F;something to make it child of the parent, like a html structure maybe<p>b &#x2F;&#x2F;call the second method, the b method below<p>end<p>def b<p>self.insert &#x2F;&#x2F;same here, same logic&#x2F;&#x2F;<p>a &#x2F;&#x2F;call the first method, the a method above<p>end<p>thisHtmlDiv.a &#x2F;&#x2F;crazy example<p>So the subject on which you call the method will be added in all the hierarchy chain of the parent child pyramid.
评论 #19020931 未加载