FlareStart
HomeNewsHow ToSources
FlareStart

Where developers start their day. All the tech news & tutorials that matter, in one place.

Quick Links

  • Home
  • News
  • Tutorials
  • Sources
  • Privacy Policy

Connect

© 2026 FlareStart. All rights reserved.

Back to articles
NewsTools

Show HN: Algorithms and Data Structures in TypeScript – Free Book (~400 Pages)

via Hacker Newsjsontwikkeling15h ago

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] h

Continue reading on Hacker News

Opens in a new tab

Read Full Article
0 views

Related Articles

The Power of Small Steps
News

The Power of Small Steps

Medium Programming • 50m ago

Stop Overpaying for Inference: The 1B Speech Model That Runs Locally and Outperforms 8B…
News

Stop Overpaying for Inference: The 1B Speech Model That Runs Locally and Outperforms 8B…

Medium Programming • 2h ago

An ode to bzip
News

An ode to bzip

Lobsters • 3h ago

What to Do in Vegas If You’re Here for Business (2026)
News

What to Do in Vegas If You’re Here for Business (2026)

Wired • 3h ago

News

Who is emrebykdr?

Medium Programming • 3h ago

Discover More Articles