# Algorithms and Data Structures in TypeScript

3 Hacker News commenters recommended Algorithms and Data Structures in TypeScript and 4 criticized it, November 2025 to November 2026. It was recommended in 1 of 13 months.

**Verdict:** Recommended for its code-and-tests-first repo that makes running examples easy, and a concise yet thorough treatment. Critics question whether the author read it themselves.

## Why people recommend it

- Code and tests integrated with book (1 comments): "integrated repo centered around code and tests first, with the book as one of the produced artifacts" ([source](https://news.ycombinator.com/item?id=47365149))
- Easy to run code while learning (1 comments): "makes it much easier to actually run the code and play with the ideas while learning" ([source](https://news.ycombinator.com/item?id=47364140))
- Concise yet thorough (1 comments): "it has a satisfying bend towards being both concise and thorough" ([source](https://news.ycombinator.com/item?id=47364445))

## What people warn about

- Author may not have read it (3 comments): "You shouldn't ask other people for feedback before you have done the bare minimum of reading your "own" book" ([source](https://news.ycombinator.com/item?id=47366129)) "what kind of author releases about a book they themselves have not read?" ([source](https://news.ycombinator.com/item?id=47365783)) "Why would I read your book if you have not read your book?" ([source](https://news.ycombinator.com/item?id=47365377))
- Suggests asking an LLM instead (1 comments): "Just ask an LLM summarize it for you, lol" ([source](https://news.ycombinator.com/item?id=47365905))

## Alternatives hackers recommend

- [Crafting Interpreters by Robert Nystrom](https://hackerapproved.com/p/crafting-interpreters.md): 60 recommend
- [Clean Code by Robert C. Martin](https://hackerapproved.com/p/clean-code.md): 31 recommend
- [The Pragmatic Programmer by Hunt and Thomas](https://hackerapproved.com/p/pragmatic-programmer.md): 28 recommend
- [How to Design Programs by Felleisen, Findler, Flatt and Krishnamurthi](https://hackerapproved.com/p/how-to-design-programs.md): 18 recommend
- [Mastering Emacs by Mickey Petersen](https://hackerapproved.com/p/mastering-emacs.md): 17 recommend

## Where to get it

- [See price on Amazon](https://www.amazon.com/s?k=Algorithms+and+Data+Structures+in+TypeScript&tag=hackerapprove-20) (affiliate link)

## Cite as

Hacker Approved, "Algorithms and Data Structures in TypeScript", https://hackerapproved.com/p/algorithms-and-data-structures-in-typescript/ (counts from 1,795,640 Hacker News comments, November 2025 to November 2026).
