Code Samples

Version: 0.6.22

Code Samples#

The code examples that accompany the lecture notes live in their own repository, aldast-examples. They are organised by module, then by topic, and finally by programming language. Each example has a short README, and most come with tests.

To get all of them:

$ git clone https://github.com/fchauvel/aldast-examples.git

Module

Topic

Language

Sequences

Jump search

Java

Sequences

Fixed and dynamic arrays

C

Trees

Binary search trees

TypeScript

Trees

AVL trees

Python

Trees

Binary heaps

Ruby

Trees

B-trees

Ruby

Trees

Prefix trees

Scala

Graphs

Edge list

Ruby

Graphs

Adjacency list

JavaScript

Graphs

Adjacency matrix

C

Graphs

Minimum spanning trees

Java