Skip to content

Latest commit

 

History

History
77 lines (64 loc) · 3.83 KB

README.md

File metadata and controls

77 lines (64 loc) · 3.83 KB

competitive-scala

My personal repertoire of datastructures and utilities written in pure Scala.

  • All implementations are pure, with the exception of randomized algorithms which rely on an impure random number generator oracle.
  • All implementations are asymptotically optimal up to a log^k(n) factor. Most of the time the chosen algorithm is indeed optimal, however the operations on the underlying immutable datastructures may require additional time (compared to their impure counterpart), thus the log factor.
  • All implementations are self-contained: no external libraries are used and files are isolated from each other.

Repertoire

Geometry

Graphs

Number theory

Arrays, sequences and strings

Other utilities