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.

Ask HN: What is the best concept in CS/Math you've ever learnt and why?

7 pointsby debanjan16almost 2 years ago
Where can we read about that concept? A link to a blog, paper, etc would be helpful.<p>Why do you think that particular concept is the best?

2 comments

surprisetalkalmost 2 years ago
So many to choose from! I&#x27;ll stick to some small practical examples.<p>If you&#x27;ve got a queue of any form, you can throw Little&#x27;s Law at it.<p><i>&quot;the long-term average number L of customers in a stationary system is equal to the long-term average effective arrival rate λ multiplied by the average time W that a customer spends in the system. Expressed algebraically the law is L = λW&quot;</i><p>[1] <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Little%27s_law" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Little%27s_law</a><p>I frequently bring up the Secretary problem when talking to people about dating and job hunting:<p>(1) estimate the size of your candidate pool as N, (2) reject sqrt(N) candidates, (3) choose the first candidate that is better than all others.<p>[2] <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Secretary_problem" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Secretary_problem</a>
ggr2342almost 2 years ago
How to estimate things. That is the best thing in Math I have learnt. It is known as Street Fighting math or Fermi estimation and many other names. One book that is close to my heart is:<p>Street Fighting Mathematics by Sanjoy Mahajan.