TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Theoretical Computer Science Cheat Sheet [pdf]

308 点作者 truly超过 3 年前

32 条评论

lqet超过 3 年前
I am confused, this seems more like a general math cheatsheet. The only thing that truly has anything to do with theoretical CS are the definitions for the O-notation on the first page (and most CS students don&#x27;t need a cheat-sheet for that) and the master theorem. Nothing on P, NP, NP-hardness or completeness, formal languages (Chomsky hierarchy?), finite automata, Turing machines, halting problem, decision problem, reduction proofs, Pumping lemma, Gödels incompleteness theorem, etc. This sheet would have been of very little help in any theoretical computer science exam I ever took. The only cheat sheet I ever needed in theoretical CS was Schönings book &quot;Theoretische Informatik - kurz gefasst&quot; (&quot;A short overview of theoretical CS&quot;, well, it has ~180 pages...), which is pretty standard in German universities. It was completely worn out after my first semester + exam of theoretical CS... here is a TOC: <a href="http:&#x2F;&#x2F;www.gbv.de&#x2F;dms&#x2F;hebis-mainz&#x2F;toc&#x2F;094349797.pdf" rel="nofollow">http:&#x2F;&#x2F;www.gbv.de&#x2F;dms&#x2F;hebis-mainz&#x2F;toc&#x2F;094349797.pdf</a>
评论 #29349524 未加载
alpaca128超过 3 年前
Maybe it&#x27;s just me, but when a cheatsheet reaches 10 pages and includes multiple areas like this one I&#x27;d just split it up into multiple ones. It almost feels like this needs a table of contents.<p>And I think a bit more theoretical CS stuff, maybe a few diagrams, would be more helpful than e.g. the Pythagorean theorem or the powers of 2 which shouldn&#x27;t be a problem to just memorize at that level.
osivertsson超过 3 年前
This is only a showcase of TeX, the actual value of this cheat-sheet seems pretty low.<p>I used to know most of this when I was in uni, including how to derive it when I needed it. Back then this kind of cheat-sheet would not have helped me <i>apply</i> my knowledge. The actual knowledge was very clear in my head from solving problems, or I remembered some key idea used during derivation and from there could work out the rest.<p>If you need this kind of cheat-sheet you don&#x27;t understand the concepts deep enough.<p>Unfortunately most of this knowledge is now 15 years later either very fuzzy or completely lost from my mind. I guess that happens when it is not being refreshed&#x2F;applied during the career I chose.<p>This cheat-sheet serves a reminder of how much knowledge I have lost ;)
评论 #29350422 未加载
W0lf超过 3 年前
I clearly remember my heureka moment when I discovered back in university that I don&#x27;t have to actually learn and remember all that stuff that was taught but to recognize patterns and tricks that will reduce the problem domain down to a few things from which everything else can be deduced. After that most of the lectures boiled down to: ok, what is important to learn and remember here :-)
xore超过 3 年前
I was expecting something like known NPC problems and their reductions plus complexity of algorithms and data structures.<p>This seems like a math cheat sheet that can be improved removing simple derivations of some formulas.<p>However it can be handy.
lordnacho超过 3 年前
Engineering version is a whole huge book with lots of interesting things to search for:<p><a href="https:&#x2F;&#x2F;link.springer.com&#x2F;book&#x2F;10.1007&#x2F;978-94-010-9314-9" rel="nofollow">https:&#x2F;&#x2F;link.springer.com&#x2F;book&#x2F;10.1007&#x2F;978-94-010-9314-9</a><p>Not just math, but properties of matter, physical constants, thermodynamics and fluids (oblique shocks!), electricity (Semiconductors, Verilog!), solid mechanics, and random stuff like screw threads.<p>They had us get this in undergrad, all the Engineering students at Oxford know it as HLT.
评论 #29348923 未加载
评论 #29348870 未加载
LoyCgg超过 3 年前
Do you have a cheat sheet for this cheat sheet?
pyentropy超过 3 年前
It&#x27;s nice, but it doesn&#x27;t cover any topic of Theoretical Computer Science [1]. It&#x27;s just the math required for undergrad general CS courses.<p>[1] - <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Theoretical_computer_science" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Theoretical_computer_science</a>
choeger超过 3 年前
I have to wonder about the big-O notation.<p>Do people really write f(x) = O(g(x)) ?<p>Because that doesn&#x27;t seem to make sense. It could make sense if we read O as an operator (so f is the upper bound on g, but the definition is the other way around) but saying that a function is equal to an upper bound is just odd, even leaving aside the fact that the definition uses &quot;f(x)&quot;, i.e., the application of f, to express the function itself.
评论 #29348491 未加载
评论 #29348375 未加载
评论 #29349192 未加载
raxxorrax超过 3 年前
Useful. I would add maybe abstract algebra, definitions of fields, rings, etc. and their respective operations. LaPlace&#x2F;Z-Transformation from system theory.
评论 #29349390 未加载
qsort超过 3 年前
It reminds me of the cheatsheets we used to make before math competitions. Many of those things are forever etched in my brain. The only difference is that the ones I made tended to have a lot more freaking triangles.
nlitsme超过 3 年前
This seems to be the original publication: <a href="https:&#x2F;&#x2F;dl.acm.org&#x2F;doi&#x2F;10.1145&#x2F;242581.242585" rel="nofollow">https:&#x2F;&#x2F;dl.acm.org&#x2F;doi&#x2F;10.1145&#x2F;242581.242585</a>
fjfaase超过 3 年前
A nice collection formuleas that seem usefull when doing theoretical computer science. Maybe could improve it with adding the definition for NP-complete, context free grammars, Turing complete, and such.
tartoran超过 3 年前
I never ran into Escher’s knot before although Im somewhat familiar wit Esche’s work. Does anyone know what its relevance in this context?
评论 #29348303 未加载
评论 #29358324 未加载
评论 #29348300 未加载
mdp2021超过 3 年前
Does any gentlemember have something similar for statistics?
gonzus超过 3 年前
Anybody knows what the grid of numbers on the last page, grouped under &quot;Fibonacci Numbers&quot;, is?
评论 #29348780 未加载
arethuza超过 3 年前
No definition of the Y Combinator ;-)
tzs超过 3 年前
1. I was a pure math major so I&#x27;ve always liked neat representations of pi such as Wallis&#x27; identity and Brouncker&#x27;s continued fraction, both given on that cheat sheet, but I&#x27;ve never actually seen them used for anything. Where do they come up in CS?<p>2. If you have to deal with a lot of sums involving hypergeometric terms (such as a many series involving binomial coefficients), the book &quot;A=B&quot; by Marko Petkovsek, Herbert Wilf, and Doron Zeilberger might be of interest. It is downloadable from Wilf&#x27;s site [1].<p>[1] <a href="https:&#x2F;&#x2F;www2.math.upenn.edu&#x2F;~wilf&#x2F;AeqB.html" rel="nofollow">https:&#x2F;&#x2F;www2.math.upenn.edu&#x2F;~wilf&#x2F;AeqB.html</a>
tester34超过 3 年前
it&#x27;s just cs math, not cs?
评论 #29348551 未加载
评论 #29348572 未加载
g42gregory超过 3 年前
I don’t know if Pythagorean theorem needs to go on any cheat sheet, whether it’s Math or CS. If you can’t remember that, maybe you are in the wrong place to begin with!
antegamisou超过 3 年前
For anyone complaining about the length of the document, I suggested it as a shorter alternative to a original submission [0] where apparently a 212 page document was called a cheatsheet and in fact TCS Cheat Sheet was seen as too concise!<p>[0] <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=27468908" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=27468908</a>
d33超过 3 年前
I just had this thought that it might be super interesting to see a cheat sheet with the current state of academic knowledge in computer science compressed to as few pages as possible. Things that we didn&#x27;t know at - let&#x27;s say - 10 or 20 years ago in a format that could be understood by people from those times.
slmjkdbtl超过 3 年前
As someone who has no training at all in related subject I really like the graphical aspect of this pdf, it brought me a sense of complete alienness and makes me want to explore. It almost look like something you can find at an art book fair.
waynecochran超过 3 年前
The formula for the nth prime number has a bound of O(n &#x2F; ln n) which makes the lesser terms noise (?) Same w pi(x) (?) Using a bound is more useful:<p><pre><code> n ln n + n(ln ln n - 1) &lt; p_n &lt; n ln n + n ln ln n (for n &gt;= 6)</code></pre>
eloeffler超过 3 年前
Is this generated with LaTeX and is there a source for this? I love the arrangement of cells
评论 #29348250 未加载
评论 #29348211 未加载
Tade0超过 3 年前
No mention of (Shannon) entropy? Sort of an important concept.
unbanned超过 3 年前
Seems like some eager undergrad&#x27;s notebook; an exercise in productive procrastination.<p>Not sure how useful this is in practice. Probably not very. Thanks nonetheless
monopoledance超过 3 年前
Maaaan, I was expecting friendly pictures and stuff. Every computer science book looks like this cheat sheet!
killjoywashere超过 3 年前
It&#x27;s like the front section of CRC Handbook of Chemistry &amp; Physics. Very dense.
BruceEel超过 3 年前
More like a cheat booklet ;-) Very nice!
rattyc超过 3 年前
I don&#x27;t understand any of that
评论 #29349510 未加载
AstroDogCatcher超过 3 年前
Feels like this exists mostly as a prop for immature CS students to &quot;impress&quot; people with.