Book of Elementary Algorithms and Data structures
This book introduces about elementary algorithms and data structure. It includes side-by-side comparison about purely functional realization and their imperative counterpart.
From 2020/12, I started re-writing this book. The PDF can be downloaded for preview (EN, 中文). The 1st edition in Chinese (中文) was published in 2017. I recently switched my focus to the Mathematics of programming, the new book is also available in (github)
To build the book in PDF format from the sources, you need the following software pre-installed.
In Debian/Ubuntu like Linux environment, do NOT install the TeXLive through apt-get. Go to TeXLive official site to download the setup script.
$ wget http://mirror.ctan.org/systems/texlive/tlnet/install-tl.zip $ unzip install-tl.zip $ cd install-tl $ sudo ./install-tl -gui text -repository http://mirror.ctan.org/systems/texlive/tlnet
$ sudo apt-get install imagemagick $ sudo apt-get install graphviz
For Windows and Mac OS X installer, ImageMagick can be download through http://www.imagemagick.org; Graphviz can be download from: http://graphviz.org
You need the GNU make tool, in Debian/Ubuntu like Linux, it can be installed through the apt-get command:
$ sudo apt-get install build-essential
In Windows, you can install the MSYS for it. In Mac OS X, please install the developer tool from this command line:
$ xcode-select --install
enter the folder contains the book TeX manuscript, run
This will generate algoxy-en.pdf and algoxy-zh-cn.pdf. If you only need the Chinese version for example, you can run
The other two branches,
jvmare deprecated. Please do NOT checkout/track them.
``Cogito ergo sum''