This repository contains the code we wrote during Rock the JVM's Scala & Functional Programming Practice course. Unless explicitly mentioned, the code in this repository is exactly what was caught on camera.
- install IntelliJ IDEA from JetBrains
- open with IntelliJ as an SBT project
Clone this repository and checkout the start
tag by running the following in the repo folder:
git checkout start
Checkout the master branch:
git checkout master
The repository was built while recording the lectures. Prior to each lecture, I tagged each commit so you can easily go back to an earlier state of the repo!
The tags are as follows:
approximate-pi
check-valid-parentheses
enhancing-numbers
eval
generate-parentheses
graph-coloring
graphs-find-path
graphs-intro
graphs-ispath
graphs-make-unordered
lists-append
lists-big-3
lists-duplicate
lists-get-kth
lists-insert-sort
lists-length
lists-merge-sort
lists-prep
lists-quick-sort
lists-random-sample
lists-remove-kth
lists-reverse
lists-rle
lists-rotate
n-queens
numbers-decompose
numbers-primes
recurring-decimals
sierpinski
start
strings-anagrams
strings-count-chars
strings-justify
trees-clean
trees-collect-at-level
trees-intro
trees-leaves
trees-mirror
trees-same-shape
trees-size
When you watch a lecture, you can git checkout
the appropriate tag and the repo will go back to the exact code I had when I started the lecture.
If you have changes to suggest to this repo, either
- submit a GitHub issue
- tell me in the course Q/A forum
- submit a pull request!