Skip to content

Releases: liuxinyu95/AlgoXY

The 2nd edition with exercises and answers

01 Sep 02:06
Compare
Choose a tag to compare

This release contains the new edition with 119 exercises/answers (both in English and Chinese). The book is fully rewrote from 2020 to 2023. Below are some major changes compare with the 1st edition:

  1. Make functional list (singly-linked) the first chapter, as it's the basic bricks for almost all functional data structures and algorithms; Removed the chapter about suffix-tree; added appendix about the deletion algorithms for red-black tree and AVL tree.
  2. Consolidate all example programs into two unified languages: Haskell for functional, and Bourbaki (a virtual language) for imperative;
  3. Unified notations for algorithm definition; Simplified the explanation for all algorithms; Improved some implementation with fusion through concatMap (aka. flatMap). Fixed errors found in the 1st edition;
  4. Provided answers to 119 exercises;
  5. Removed the dependency to dot (graphviz) and imagemagic, upgraded the build system to lualatex.

Cheers.

Xinyu LIU
Sep 1st/2023

Download

Preview of the fixings till 2020/10

08 Oct 05:44
Compare
Choose a tag to compare

This release contains the fixings collected till 2020/10.

v0.6180333

18 Apr 03:04
Compare
Choose a tag to compare

Main changes in this release:

Re-write the Trie and Prefix Tree chapter for all branches.
Released a intermediate pdf contains Scala and Java example code for the first 5 chapters.

v0.6180332

10 Dec 13:00
Compare
Choose a tag to compare

Main changes in this release (English edition):

  • The formal proof of functional AVL tree insertion algorithm is moved to Appendix C;
  • Added functional AVL tree deletion algorithm in Chapter 4;
  • Added imperative AVL tree deletion algorithm in Appendix C.

Add appendix about red-black tree deletion

28 Oct 22:18
Compare
Choose a tag to compare

Add a new appendix about the imperative red-black tree deletion algorithm.

v0.6180330

08 Oct 08:30
Compare
Choose a tag to compare

Fixed the error in red-black tree deletion algorithm.
There are two pdf files released:

  • elementary-algorithms.pdf This is the pdf for the whole book in English;
  • rbtree-zh-cn.pdf This is the updated red-black tree chapter in Chinese.

v0.618034-zh-cn

17 Nov 05:46
Compare
Choose a tag to compare

Corrected mistakes in editorial work

v0.618033-zh-cn

01 Apr 10:32
Compare
Choose a tag to compare

Updated the appendix

  • elementary-algorithms.pdf

v0.61832-zh-cn

04 Mar 23:57
Compare
Choose a tag to compare

Updated chapter of search

  • elementary-algorithms.pdf

v0.618031

03 Nov 06:56
Compare
Choose a tag to compare

0.618030 version includes:

Main book: elementary-algorithms.pdf

Update the chapter of quick sort and merge sort.