Implementations are for learning purposes only. As they may be less efficient than the implementations in the Scala standard library, use them at your discretion.
Getting Started
Read through our Contribution Guidelines before you contribute.
Community Channels
We're on Discord and Gitter! Community channels are great for you to ask questions and get help. Please join us!
List of Algorithms
See our directory for easier navigation and better overview of the project.
How to use this repository for learning purpose ?
-
Clone the repository on your local machine
git clone https://github.com/TheAlgorithms/Scala.git
-
Open the repository using an IDE (Preferably IntelliJ Idea)
-
Enable auto-import to import the dependencies from build.sbt
-
Open the src/main/scala to view the algorithm implementations under various categories
-
Open src/test/scala to run the test cases and view the algorithm in action
-
Visit Algorithms-Explained to get a more detailed explanation about specific algorithms
-
Check Algorithms Visualization for visualization of numerous algorithms