Since Fender Stratocaster is a classic guitar, Scalacaster is classic algorithms and data structures in Scala. Scalacaster includes loads of widely used implementation techniques and approaches which have been developed by best programmers and enthusiasts of functional programming. Studying purely functional data structures is always fun and chalange for researchers. Data structures in a functional setting are much elegant and witty than in an imperative setting. And if you catch the glimpse of its beauty, Scalacaster will show you an awesome duo of breathtaking Scala syntax and amazing functional data structures.
Scalacaster is neither a library nor framework. Moreover, Scalacaster`s code is not supposed to be launched at all. The code is not for Scala compiler and JVM. It is for human beings. For enthusiasts and researches of the Scala programming language and it's application in the area of implementation of the purely functional data structures. So, the best way to use Scalacaster is to read through it's source code and comments. Anyway, all the sources are ready for compilation and launching.
There is also a great slides compiled as an overview the whole idea behind the Scalacaster. See "Purely Functional Data Structures in Scala" slides for more details.
- Numbers theory
src/primitive/Numbers.scala
- Strings
src/primitive/Strings.scala
- List
src/collection/List.scala
- Queue
src/collection/Queue.scala
- Stack
src/collection/Stack.scala
- Set
src/collection/Set.scala
- Standard Binary Heap
src/heap/StandardHeap.scala
- Leftist Heap
src/heap/LeftistHeap.scala
- Binary Search Tree
src/tree/Tree.scala
- Red-Black Tree
src/tree/RBTree.scala
- Graph
src/graph/Graph.scala
- InductiveGraph
src/graph/InductiveGraph.scala
- Quick Sort
src/sort/QuickSort.scala
- Merge Sort
src/sort/MergeSort.scala
- Bubble Sort
src/sort/BubbleSort.scala
- Insertion Sort
src/sort/InsertionSort.scala
- Selection Sort
src/sort/SelectionSort.scala
- Selection Search (k-th order statistic)
src/search/SelectionSearch.scala
- Binary Search
src/search/BinarySearch.scala
- Linear Search
src/search/LinearSearch.scala
- Give it a star
- Drop the feeback to the author
- Send a PR with fixes of typos/bugs/etc
by Vladimir Kostyukov, 2013-2014