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: Project based data structures and algorithms book?

22 pointsby tsthenameover 3 years ago
Most books I&#x27;ve read on the topic follow a similar structure. Introduce Big O notation, introduces concepts in the abstract and show isolated implementations in code.<p>At work I find myself wishing I had some more insight&#x2F;guidance on the following problems:<p>1. Decision making when requirements aren&#x27;t clear or may be subject to change. How do I avoid giving myself problems in the future?<p>2. I don&#x27;t know all the data structures and algorithms off the top of my head. After reasoning about the requirements how do professional developers do research for the implementation?<p>3. How do I make trustworthy measurements? What tools do I use?<p>4. How do I combine multiple structures&#x2F;algorithms to solve the specific domain problem I&#x27;m facing?<p>In short, I&#x27;d appreciate recommendations for resources that focus on using DS&#x2F;Algo knowledge in real work scenarios.

4 comments

brian_spieringover 3 years ago
The issues you describe are important but typically out of scope for data structures and algorithms book. They are often considered more architectural issues.<p>In many real-world scenarios, it is not necessary to pick the best data structures and algorithms. It is often good enough to just avoid poor choices.<p>Trustworthy measurements are important since constants and implementations matter. That is done through benchmarking and profiling. This is also often not considered part of many data structures and algorithms books.
hedgehog0over 3 years ago
&quot;Programming Algorithms in Lisp&quot; [0] seems interesting and provides examples along with DS and&#x2F;or Algo, but it is written in Common Lisp.<p>[0]: <a href="https:&#x2F;&#x2F;link.springer.com&#x2F;book&#x2F;10.1007&#x2F;978-1-4842-6428-7" rel="nofollow">https:&#x2F;&#x2F;link.springer.com&#x2F;book&#x2F;10.1007&#x2F;978-1-4842-6428-7</a>
评论 #29074704 未加载
brian_spieringover 3 years ago
One option might be The Algorithm Design Manual by Steven Skiena and the associated website <a href="https:&#x2F;&#x2F;www.algorist.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.algorist.com&#x2F;</a>.<p>It is more problem-solution based with applied examples.
markus_zhangover 3 years ago
I second this. I&#x27;m going through a class of DS and frankly it doesn&#x27;t excite me. It may be that I&#x27;m not interested in CS overall but I do believe a real work approach could be much more interesting.<p>For example how about a DS class dedicated for game programming? Is it possible? Is it too biased?
评论 #29070789 未加载