« Back to Index

Data Structures

View original Gist on GitHub

data structures.md

Update

This gist has been superseded by https://github.com/Integralist/Data-Structures and also https://www.integralist.co.uk/data-types-and-data-structures/


Note:
sequential == collection keeps order of population
ordered == collection is re-ordered (implements a Sequence interface)

Tuple

Set

Note: Clojure’s Set data structure appears to be ordered #{3 1 2}, (first #{3 1 2}) returns 1

Linked list

Array/Vector

List/Sequence

Stack

Queue