Scala
Scala copied to clipboard
All Algorithms implemented in Scala
PR for Adding algorithms to calculate Area. I have added algorithms to calculate the area of 8 different 2-Dimensional shapes. Tests have been performed and the scripts are included in...
Added PR for [Issue - 79](https://github.com/TheAlgorithms/Scala/issues/79)
I can see the imperative code in sorting algorithm, I'm intending to add in functional way for e.g. In [MergeSort](https://github.com/TheAlgorithms/Scala/blob/master/src/main/scala/Sort/MergeSort.scala) , I can see while loop which is an iterative...
Pull request
- Added functional merge sort using only `val`s and the `Vector` data structure - merge function is tail recursive and has been annotated as such
This PR adds basic CI.