Algorithms and Data Structures in TypeScript
Free Book (~400 Pages)
Get picks like this daily. Today's launch numbers, the top launches, AI and tech news, and a daily opportunity pick, straight to your inbox.
Want to reach these readers? Sponsor an issue.
I started writing this book 10 years ago in JavaScript, got through a few chapters (asymptotic notation, basic techniques, start of sorting), and then abandoned it.Recently I picked it back up, converted everything to TypeScript, and used AI (Zenflow [1] + Claude Opus 4.6) to complete the remaining chapters. I provided the structure, direction, and initial chapters; the AI generated the bulk of the remaining content under a spec-driven workflow.The book covers roughly a first 1-2 year CS curriculum: sorting, dynamic programming, graph algorithms, trees, heaps, hash tables, and more. All code is executable, typed with generics/interfaces, and covered with tests.I've thoroughly reviewed several chapters (sorting, DP, graphs) and done a high-level pass on the rest. Currently in beta — corrections and contributions are welcome.MIT licensed. Inspired by Wirth's "Algorithms and Data Structures", SICP, and CLRS.Code and tests: https://github.com/amoilanen/Algorithms-with-Typescript[1] https://zencoder.ai/zenflow
HN · launched Mar 13, 2026 · 65 upvotes (top 14%) · 0 views
Niche: specialized algorithms and computing libraries · 230 launches, 4 in the last 7 days ▼ -73% · Explore this niche →
Category and tags
- Education
- Content generation
- Developer
- Not AI
- Hobby / open-source project
Visit website ↗ Source listing ↗
More like this: all 230 launches in specialized algorithms and computing libraries →
Could you build this?
Yes This is a static documentation book (built with mdBook or similar) containing educational TypeScript implementations and unit tests of standard algorithms.
Discussion
20 comments analyzed.
Concerns raised: Appears to be coordinated AI campaign with new accounts and artificial upvotes, Author hasn't read their own book before requesting feedback, Post is vehicle to promote Zenflow tool by employer Zencoder, Book is AI-generated slop, not original work, Lack of transparency about AI tool usage and promotional intent
Competitors
Other products that read as similar to this one : 318 launches clear the similarity bar, closest 8 shown.
Attention rank: #52 of 319 (itself plus its competitors, highest first, normalized so YC and Product Hunt are compared fairly).
Launched 129 days after the earliest competitor.
- I wrote a book · hn · 2025-12-08 · 53 upvotes · similarity 0.52
- book-data-structures-ai · github · 2026-09-13 · 15 upvotes · similarity 0.50
- Functional Programming Strategies, the book I'm working on · hn · 2026-07-01 · 5 upvotes · similarity 0.50
- Algorithms 1.0.0 · hn · 2026-02-18 · 7 upvotes · similarity 0.47
- codecript · ph · 2026-10-30 · 2 upvotes · similarity 0.47
- SharpTS · hn · 2026-01-09 · 6 upvotes · similarity 0.46
- ts-rust · github · 2026-10-07 · 1036 upvotes · similarity 0.46
- Building an LLM from Scratch in TypeScript · hn · 2026-10-14 · 33 upvotes · similarity 0.45
The niche, labels, vibe code rating and competitor comparison on this page are analysis by Nicheloom. If you use them, please credit nicheloom.com. How you may use our data.