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:
graphs-coloringgraphs-find-pathsgraphs-intrographs-make-undirectedgraphs-pathslists-appendlists-big-3lists-duplicatelists-get-kthlists-insert-sortlists-lengthlists-merge-sortlists-preplists-quick-sortlists-random-samplelists-remove-kthlists-reverselists-rlelists-rotatemisc-evalmisc-n-queensmisc-sierpinskinumbers-approximate-pinumbers-decomposenumbers-enhancingnumbers-primesnumbers-recurring-decimalsstartstrings-anagram-checksstrings-count-charsstrings-generate-parenthesesstrings-justifystrings-valid-parenthesestrees-collect-nodes-at-leveltrees-introtrees-leavestrees-mirrortrees-same-shapetrees-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!