Hasty Briefsbeta

Bilingual

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

16 hours ago
  • #computer-science
  • #algorithms
  • #TypeScript
  • The book is currently in beta and under active review, with contributions welcome via GitHub.
  • Aims to bridge the gap between theoretical algorithms and practical implementation using TypeScript.
  • Target audience includes software engineers and Computer Science students.
  • Assumes basic TypeScript/JavaScript knowledge but no prior algorithms or data structures experience.
  • Organized into six parts covering foundations to advanced topics, with exercises in each chapter.
  • Code is idiomatic, type-safe, and tested with a modern toolchain (TypeScript 5, Vitest).
  • Encourages reading code alongside text, prioritizing clarity over optimization.
  • Draws inspiration from classic algorithms texts and MIT courses.