Open Data StructuresPat Morin

Open Data Structures

by Pat Morin · first published 2013

12mentions
11recommended by
12HN commenters
2012–2024first – last mentioned

92% recommend8% neutral

Why HN recommends it

Free, open-source textbook covering core data structures with theory alongside implementations; a friendly introduction for undergraduates and self-learners, in pseudocode, Java, C++ and Python editions.

Summarised by Claude from recommending comments

Affiliate links. As an Amazon Associate I earn from qualifying purchases.

Mentions per year

20 2007: 0 mentions2008: 0 mentions2009: 0 mentions2010: 0 mentions2011: 0 mentions2012: 2 mentions2013: 0 mentions2014: 1 mention2015: 0 mentions2016: 1 mention2017: 0 mentions2018: 1 mention2019: 1 mention2020: 2 mentions2021: 2 mentions2022: 1 mention2023: 0 mentions2024: 1 mention2025: 0 mentions2026: 0 mentions200720172026

What Hacker News says

  • jefferickson · Jan 3, 2019 · Recommends

    Yes, I have thought about making it into an open-source project, like Pat Morin did with his Open Data Structures textbook, or Boaz Barak with his Modern Complexity Theory textbook. (Both highly recommended, BTW.) But I'm hesitant to release the LaTeX source files in their current (rather grungy) form. Too much…

    on “Algorithms, by Jeff Erickson” ↗
  • lightveil · Jun 6, 2021 · Recommends

    …process to get the LaTeX source of books upon request, although I understand how copyrights/etc might make this difficult. Some other books I would like to point out for being open source: Apex Calculus, Open Data Structures.

    on “In Praise of Open Source Textbooks” ↗
  • bandali · Nov 4, 2016 · Recommends

    Open Data Structures [0] by Pat Morin is a good one, and it comes in 3 editions (pseudocode, java, and c++) so you can pick whichever you prefer. [0]: http://opendatastructures.org/

    on “Advanced Data Structures” ↗
  • nicklaf · Apr 4, 2018 · Recommends

    Love all those books. Hadn't heard of the last one though. Looks like it's available online [1]. And actually, it has a few cool links on its homepage to similar books. In particular, there is a link to this gem [2], which, for example, has a chapter [3] on what appears to be a very interesting generalization [4] of the "master theorem" of CLRS. Another good resource that pages links to seems to

    on “Ask HN: What books do you keep on your desk?” ↗
  • jagger27 · Dec 29, 2020 · Recommends

    https://opendatastructures.org/ is quite good.

    on “Computer Science textbooks that are freely available online” ↗
  • cdelahousse · Oct 14, 2012 · Recommends

    The first data structure, the Compact dynamic array, is explained beautifully for an undergraduate audience, in Pat Morin's Open Data Structures open source data structures textbook. He calls them rootish array stacks. http://opendatastructures.org/ods-java/2_6_RootishArrayStack...

    on “Exotic data structures” ↗
  • leif · Dec 23, 2012 · Recommends

    Here are some: http://opendatastructures.org/ http://www.cgal.org/ http://pigale.sourceforge.net/ http://www.algorithmic-solutions.com/leda/index.htm Oh yeah, and this: http://graphics.stanford.edu/~seander/bithacks.html It's not algorithms but it's amazingly useful, I reference it a few times a year. I want a copy of http://www.hackersdelight.org/ because I hear it's even better.

    on “FXT: a library of algorithms” ↗
  • WillDaSilva · Nov 14, 2021 · Recommends

    I would recommend Open Data Structures: https://opendatastructures.org/ It's available for free online, or if you'd like you can buy a physical copy. It's got 14 chapters that take you through a variety of data structures, introduces you to the theory behind them, and teaches you the basics of analyzing them. I've done many of the exercises from this book, and found them useful for learning the

    on “Ask HN: Looking for a book on algorithms and data structures” ↗
  • emmanueloga_ · Jan 3, 2024 · Recommends

    …these I feel like the best intro is Sedgewick & Wayne. CLRS is less solo-learner friendly, in my opinion. I skimmed Erickson and I liked it too. In the "friendly+actually-useful" category, you missed "Open Data Structures" [1] ... I think it has one of the best descriptions of trees, including B-Trees which seem to be only superficially described in other books. The "Think" series is also pretty good and covers more than…

    on “50 Algorithms Every Programmer Should Know (Second Edition)” ↗
  • neduma · Nov 25, 2014 · Recommends

    http://opendatastructures.org is worth a look.

    on “Ask HN: What is your favorite data structures book?” ↗
  • sargstuff · Sep 28, 2022 · Recommends

    …Algorithms in Lisp by VsevolodDomkin ** Competative Programming : https://cses.fi/book/book.pdf ** Algorithms by Jeff Erickson (non-lisp bent): https://jeffe.cs.illinois.edu/teaching/algorithms/ ** Open Data Structures : https://opendatastructures.org/ods-python/ ;;* 4) Notational stuff: ** Ebnf https://www.gimtec.io/articles/ebnf/ (check out the further readings!) ** awesome syntax-tree : https://github.com/syntax-tree/awesome-syntax-tree…

    on “Ask HN: I like studying the concept of abstractions” ↗
  • tsjq · Dec 2, 2020 · Mentions

    the page lists : There's no perfect textbook for this class, but there are some relevant books: Data Structures and Network Algorithms by Robert E. Tarjan (covers BSTs, splay trees, link-cut trees) Open Data Structures by Pat Morin (covers BSTs, B-trees, hashing, and some integer data structures)

    on “Ask HN: What are the best advanced computer science courses online?” ↗

Keyboard shortcuts

/
Focus search
j / k
Next / previous book
Enter
Open focused book
Esc
Close / go back
g h
Go to Home
g t
Go to Top all-time
g m
Go to Most recommended
g r
Go to Rising
g f
Go to For You
?
Show this help